perl: compatibility recommendations in version data
[sheet.git] / perl.plp
index 4e6222ded9f8ced28e05293ade8065a975549213..8735f5f4f42d403fd9214342c192100013d9492e 100644 (file)
--- a/perl.plp
+++ b/perl.plp
@@ -16,13 +16,15 @@ Html({
 
 <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>.
-</p>
-
 <:
 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 '<span title="on %s">v%vd</span>', $info->{$_}->{distrosum}, $_
+} v5.8, v5.14), '.';
+say '</p>';
+
 for my $vernum (reverse sort keys %{$info}) {
        my $verrow = $info->{$vernum};
        defined $verrow->{unstable} and next unless exists $get{v};