And for the version of things other than the current interpreter, one can use the version module.
$ perl -Mv5.14 -e' use version qw( ); say version->parse( "5.040000" )->normal; ' v5.40.0
(Also accepts a number as input, such as 5.040000 aka 5.04.)
In reply to Re^2: Display common "tuple" rendition of Perl $] variable
by ikegami
in thread Display common "tuple" rendition of Perl $] variable
by Intrepid
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |