Open dolmen opened 10 years ago
Report the current perl version set by plenv.
Design idea: use Unicode superscripts and subscripts.
$ perl -C -E 'say "perl 5.10.1: \x{2075}10\x{2081}"' perl 5.10.1: ⁵10₁
sub pack_perl5_version { my $v = shift; # Replace "5." with '⁵' substr($v, 0, 2, "\N{U+2075}"); # Replace minor with subscript digit substr($v, -2, 2, chr(0x2080+substr($v, -1))); $v }
Report the current perl version set by plenv.
Design idea: use Unicode superscripts and subscripts.