X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/084e72d390de05bfa7f16b54b97f339d491bfff2..ffd2fcb2acedf1b1f98d970fbc0f701c2b810e21:/perl.plp diff --git a/perl.plp b/perl.plp index 1635621..9a8baf1 100644 --- a/perl.plp +++ b/perl.plp @@ -2,7 +2,7 @@ Html({ title => 'perl version cheat sheet', - version => '1.3', + version => '1.4', keywords => [qw' perl version feature features comparison sheet cheat overview summary @@ -17,12 +17,12 @@ Html({

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 'v%vd', $info->{$_}->{distrosum}, $_ -} v5.8, v5.20), '.'; +} v5.10, v5.20, v5.28), '.'; say '

'; for my $vernum (reverse sort keys %{$info}) { @@ -53,7 +53,7 @@ for my $vernum (reverse sort keys %{$info}) { if ($attr->{feature}) { my $prefix = sprintf 'feature', $attr->{feature}; - my $title = join ', ', $prefix, $title // (); + $title = join ', ', $prefix, $title // (); } $desc .= sprintf ' (%s)', $title; }