:>
<h1>Perl release summary</h1>
-<p>The most significant features introduced for recent versions of the Perl scripting language.
+<p>The most significant features introduced for recent versions of the Perl
+scripting language.
Depending on desired compatibility you'll want to support a minimum of
<span title="on dinosaur platforms such as Solaris 10, AIX 5.2, RHEL 3, SLES 8">v5.8</span> or
<span title="on stable servers such as Debian wheezy, Ubuntu 12.04, CentOS 7">v5.14</span>.
defined $verrow->{unstable} and next unless exists $get{v};
say '<div class="section">';
- say sprintf '<h2>%vd <small>%s</small></h2><dl>', $vernum, $verrow->{release};
+ say sprintf '<h2>%vd <small>%s</small></h2>', $vernum, $verrow->{release};
+ say '<dl>';
for (@{ $verrow->{new} }) {
my ($topic, $desc, $attr) = @{$_};
if ($attr) {
$attr->{experimental}, $title;
}
if ($attr->{feature}) {
- $title = sprintf('<span title="%s">feature</span>', $attr->{feature})
- . (defined $title && ", $title");
+ my $prefix = sprintf '<span title="%s">feature</span>',
+ $attr->{feature};
+ my $title = join ', ', $prefix, $title // ();
}
$desc .= sprintf ' <em class="ex">(%s)</em>', $title;
}