perl: silence warning about sub signatures
[sheet.git] / perl.plp
index 1699d9b64c5bdabb44efc2174e9f922c70a6ba38..716a1ebfcc51a40ce8554f5da32d028bd4449a9e 100644 (file)
--- a/perl.plp
+++ b/perl.plp
@@ -11,6 +11,7 @@ Html({
        data => ['perl.inc.pl'],
 });
 
+use experimental 'signatures';
 :>
 <h1>Perl release summary</h1>
 
@@ -111,7 +112,7 @@ sub featattrs ($attr) {
                $title = 'experimental';
        }
        if (defined $attr->{dropped}) {
-               next unless exists $get{v};
+               return '' unless exists $get{v};
                $title = sprintf 'removed in %vd', $_ for $attr->{dropped} || ();
        }
        elsif ($attr->{stable}) {