data => ['perl.inc.pl'],
});
+use experimental 'signatures';
:>
<h1>Perl release summary</h1>
$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}) {
$title = $title ? sprintf ' <em class="ex">(%s)</em>', $title : '';
if (my $eg = $attr->{eg}) {
- my $pre = sprintf ' <small>{<code>%s</code>}</small>', Entity($eg);
+ my $pre = Entity($eg);
+ $pre =~ s<\N{ZERO WIDTH SPACE}>{</code><wbr/><code>}g;
+ $pre = " <small>{<code>$pre</code>}</small>";
$title = $pre . $title;
}
return $title;