fixed bug perl ver check rhel 5