changed perl installed version check