git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perl: hide dropped features again unless ?v
[sheet.git]
/
perl.plp
diff --git
a/perl.plp
b/perl.plp
index 596e4d84d80afeafe4dece3facdbe662e04d326c..0ee9639da43603d99bdb4a47d090e02d595b4d9f 100644
(file)
--- a/
perl.plp
+++ b/
perl.plp
@@
-2,7
+2,7
@@
Html({
title => 'perl version cheat sheet',
Html({
title => 'perl version cheat sheet',
- version => '1.
6
',
+ version => '1.
7
',
keywords => [qw'
perl version feature features comparison
sheet cheat overview summary
keywords => [qw'
perl version feature features comparison
sheet cheat overview summary
@@
-113,7
+113,8
@@
sub featattrs ($attr) {
$title = 'experimental';
}
if (defined $attr->{dropped}) {
$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}) {
$title = sprintf 'removed in %vd', $_ for $attr->{dropped} || ();
}
elsif ($attr->{stable}) {