in reply to Re: Display common "tuple" rendition of Perl $] variable
in thread Display common "tuple" rendition of Perl $] variable

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.)