The Camel (3ed.) suggests this may give what you want:
my $perl_version = sprintf 'v%vd', $^V;After Compline,
Zaxo
In reply to Re: Obtaining perl's version from script
by Zaxo
in thread Obtaining perl's version from script
by zjunior
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |