minor improvement to determine Perl version on older interpreters