The code should be something like
$PERLV = $^V; # what Perl are we runing, returns undefined if Perl >= 5.6 $PERLV = $] + 0.0 if (!PERLV); # what Perl are we runing if Perl < 5.6
The code should be something like
$PERLV = $^V; # what Perl are we runing, returns undefined if Perl >= 5.6
$PERLV = $] + 0.0 if (!PERLV); # what Perl are we runing if Perl < 5.6