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: silence warning about skipping dropped features
[sheet.git]
/
perl.plp
diff --git
a/perl.plp
b/perl.plp
index 49694fc67abbb87d34d4b223f1f27111976c00f2..0d9a415a7b3edbb86fb67f3f93a2316a6c9a2296 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.
4
',
+ version => '1.
5
',
keywords => [qw'
perl version feature features comparison
sheet cheat overview summary
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 (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};
}
elsif ($attr->{stable}) {
$title .= sprintf ' until %vd', $attr->{stable};