Added perl version check