changed perl version check