From: Mischa POSLAWSKY Date: Thu, 22 Mar 2018 00:17:46 +0000 (+0100) Subject: perl: wrap long source lines to 80 characters X-Git-Tag: v1.12~86 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/ae34f61b658a824a00ce2a619fa8736c001aa513 perl: wrap long source lines to 80 characters --- diff --git a/perl.plp b/perl.plp index 0476a9e..4e6222d 100644 --- a/perl.plp +++ b/perl.plp @@ -14,7 +14,8 @@ Html({ :>

Perl release summary

-

The most significant features introduced for recent versions of the Perl scripting language. +

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 v5.8 or v5.14. @@ -27,7 +28,8 @@ for my $vernum (reverse sort keys %{$info}) { defined $verrow->{unstable} and next unless exists $get{v}; say '

'; - say sprintf '

%vd %s

', $vernum, $verrow->{release}; + say sprintf '

%vd %s

', $vernum, $verrow->{release}; + say '
'; for (@{ $verrow->{new} }) { my ($topic, $desc, $attr) = @{$_}; if ($attr) { @@ -47,8 +49,9 @@ for my $vernum (reverse sort keys %{$info}) { $attr->{experimental}, $title; } if ($attr->{feature}) { - $title = sprintf('feature', $attr->{feature}) - . (defined $title && ", $title"); + my $prefix = sprintf 'feature', + $attr->{feature}; + my $title = join ', ', $prefix, $title // (); } $desc .= sprintf ' (%s)', $title; }