X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/d0304c2088dd2e893c5ad3408b5693ed4ebfc84c..6311c65d7397e07947d6cf38df772545a3fa296d:/perl.plp?ds=sidebyside diff --git a/perl.plp b/perl.plp index f4360c5..6f2dd93 100644 --- a/perl.plp +++ b/perl.plp @@ -2,7 +2,7 @@ Html({ title => 'perl version cheat sheet', - version => 'v1.0', + version => '1.4', keywords => [qw' perl version feature features comparison sheet cheat overview summary @@ -14,29 +14,53 @@ Html({ :>
The most significant features introduced for recent versions of the Perl scripting language. -Depending on desired compatibility you'll want to support a minimum of -v5.8 or -v5.14. -
- +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), '.'; +say '
'; + for my $vernum (reverse sort keys %{$info}) { my $verrow = $info->{$vernum}; - $verrow->{unstable} and next unless exists $get{v}; + defined $verrow->{unstable} and next unless exists $get{v}; - print '