Html({
title => 'perl version cheat sheet',
- version => '1.3',
+ version => '1.4',
keywords => [qw'
perl version feature features comparison
sheet cheat overview summary
<p>The most significant features introduced for recent versions of the Perl
scripting language.
<:
-my $info = do 'perl.inc.pl' or die $@ // $!;
+my $info = Data('perl');
say "Depending on desired compatibility you'll want to support a minimum of";
say join(' or ', map {
sprintf '<span title="on %s">v%vd</span>', $info->{$_}->{distrosum}, $_
-} v5.8, v5.14), '.';
+} v5.8, v5.20), '.';
say '</p>';
for my $vernum (reverse sort keys %{$info}) {
if ($attr->{feature}) {
my $prefix = sprintf '<span title="%s">feature</span>',
$attr->{feature};
- my $title = join ', ', $prefix, $title // ();
+ $title = join ', ', $prefix, $title // ();
}
$desc .= sprintf ' <em class="ex">(%s)</em>', $title;
}