X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/37bb3836bf4e1890aaa1c5d76161f40587dd68d0..06ac56bcfc1213c305ba9aa3641523d4abcb120f:/perl.plp?ds=inline diff --git a/perl.plp b/perl.plp index 2d9cb01..590cefa 100644 --- a/perl.plp +++ b/perl.plp @@ -2,11 +2,12 @@ Html({ title => 'perl version cheat sheet', - version => '1.5', + version => '1.8', keywords => [qw' perl version feature features comparison sheet cheat overview summary '], + image => 'data/camels.jpg', stylesheet => [qw'light dark red'], data => ['perl.inc.pl'], }); @@ -113,7 +114,8 @@ sub featattrs ($attr) { $title = 'experimental'; } if (defined $attr->{dropped}) { - return '' unless exists $get{v}; + no warnings 'exiting'; + next unless exists $get{v}; # skip containing feature $title = sprintf 'removed in %vd', $_ for $attr->{dropped} || (); } elsif ($attr->{stable}) {