X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/ae34f61b658a824a00ce2a619fa8736c001aa513..a93c5c61b18192c5f74256e3cb18e7f1cd2034d5:/perl.plp diff --git a/perl.plp b/perl.plp index 4e6222d..131291e 100644 --- a/perl.plp +++ b/perl.plp @@ -16,13 +16,15 @@ Html({

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. -

- <: my $info = do 'perl.inc.pl' or die $@ // $!; + +say "Depending on desired compatibility you'll want to support a minimum of"; +say join(' or ', map { + sprintf 'v%vd', $info->{$_}->{distrosum}, $_ +} v5.8, v5.20), '.'; +say '

'; + for my $vernum (reverse sort keys %{$info}) { my $verrow = $info->{$vernum}; defined $verrow->{unstable} and next unless exists $get{v}; @@ -51,7 +53,7 @@ for my $vernum (reverse sort keys %{$info}) { if ($attr->{feature}) { my $prefix = sprintf 'feature', $attr->{feature}; - my $title = join ', ', $prefix, $title // (); + $title = join ', ', $prefix, $title // (); } $desc .= sprintf ' (%s)', $title; }