keyboard/altgr/index: move ctrl rows to distinct inventory mode
[sheet.git] / perl.plp
index 89b906e82b503298e009f058e67984758d9313ed..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.5',
+       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
@@ -57,8 +57,9 @@ eval {
        $info->{$vcore}{versum} //= "official security patches";
 
        # «We encourage vendors to ship the most recent supported release of Perl
        $info->{$vcore}{versum} //= "official security patches";
 
        # «We encourage vendors to ship the most recent supported release of Perl
-       # at the time of their code freeze» with debian&ubuntu having 5 years LTS
-       my $vendoreol = ($now - ONE_YEAR * 5)->strftime('%F');
+       # at the time of their code freeze»
+       # assume debian ships after 1 year, and expires after 5 years LTS
+       my $vendoreol = ($now - ONE_YEAR * 6)->strftime('%F');
        my $vdebian = first {
                $info->{$_}{release} ge $vendoreol && $info->{$_}{distro}{debian}
        } @versions;
        my $vdebian = first {
                $info->{$_}{release} ge $vendoreol && $info->{$_}{distro}{debian}
        } @versions;
@@ -112,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}) {