git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: avoid contents on HEAD method for all pages
[sheet.git]
/
perl.plp
diff --git
a/perl.plp
b/perl.plp
index 49694fc67abbb87d34d4b223f1f27111976c00f2..716a1ebfcc51a40ce8554f5da32d028bd4449a9e 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
@@
-11,6
+11,7
@@
Html({
data => ['perl.inc.pl'],
});
data => ['perl.inc.pl'],
});
+use experimental 'signatures';
:>
<h1>Perl release summary</h1>
:>
<h1>Perl release summary</h1>
@@
-110,9
+111,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};