X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/651e4bfa3cc349373e8f9adfd068ff6a6476b153..e84e353108a0babf4a14d91705b5f052363fa024:/perl.plp diff --git a/perl.plp b/perl.plp index 49694fc..1699d9b 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 @@ -110,9 +110,9 @@ sub featattrs ($attr) { if (defined $attr->{experimental}) { $title = 'experimental'; } - if ($attr->{dropped}) { + if (defined $attr->{dropped}) { next unless exists $get{v}; - $title = sprintf 'removed in %vd', $attr->{dropped}; + $title = sprintf 'removed in %vd', $_ for $attr->{dropped} || (); } elsif ($attr->{stable}) { $title .= sprintf ' until %vd', $attr->{stable};