X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/651e4bfa3cc349373e8f9adfd068ff6a6476b153..20ca68ae05fb47fc98efa06bb675df13d4c94de5:/perl.plp diff --git a/perl.plp b/perl.plp index 49694fc..716a1eb 100644 --- a/perl.plp +++ b/perl.plp @@ -2,7 +2,7 @@ Html({ title => 'perl version cheat sheet', - version => '1.4', + version => '1.5', keywords => [qw' perl version feature features comparison sheet cheat overview summary @@ -11,6 +11,7 @@ Html({ data => ['perl.inc.pl'], }); +use experimental 'signatures'; :>

Perl release summary

@@ -110,9 +111,9 @@ sub featattrs ($attr) { if (defined $attr->{experimental}) { $title = 'experimental'; } - if ($attr->{dropped}) { - next unless exists $get{v}; - $title = sprintf 'removed in %vd', $attr->{dropped}; + if (defined $attr->{dropped}) { + return '' unless exists $get{v}; + $title = sprintf 'removed in %vd', $_ for $attr->{dropped} || (); } elsif ($attr->{stable}) { $title .= sprintf ' until %vd', $attr->{stable};