`perl -we 'print $], $/;'` returns 5.008004. However this value does not imply v5.008004; rather v5.8.4 as explained in perlvar. Similarly, 5.006001 is not v5.006001 but rather v5.6.1.
UPDATE: Or if you'd rather use $^V:
print join '.', map { ord $_ } split(//, $^V);
In reply to Re: version reporting beyond print "$]\n";
by eibwen
in thread version reporting beyond print "$]\n";
by bluerattle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |