fixed getting perl version
fixed typo
Merge pull request #205 from JensTimmerman/perl

fixed getting perl version