countries: hardcode codes reserved for WIPO
[sheet.git] / perl.plp
index 8ebf5e2f522ebc01d6e53a812b9ba910ae252fb5..56904e107717ff6abe4383107880848e3a2a6400 100644 (file)
--- a/perl.plp
+++ b/perl.plp
@@ -12,9 +12,9 @@ Html({
 });
 
 :>
-<h1>Perl cheat sheets</h1>
+<h1>Perl release summary</h1>
 
-<p>The most significant features introduced for each version 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 stable/enterprise platforms such as Solaris 10, RHEL 3, SLES 8">v5.8</span> or
 <span title="on up-to-date servers such as Debian wheezy, Ubuntu 12.04, CentOS 7">v5.14</span>.
@@ -24,10 +24,12 @@ Depending on desired compatibility you'll want to support a minimum of
 my $info = do 'perl.inc.pl' or die $@ // $!;
 for my $vernum (reverse sort keys %{$info}) {
        my $verrow = $info->{$vernum};
+       $verrow->{unstable} and next unless exists $get{v};
+
        print '<div class="section">'."\n";
-       printf '<h2>%vd <small style="position:absolute; margin-left:1em">%s</small></h2><dl>'."\n", $vernum, $verrow->{release};
-       printf '<dt>%s<dd>%s', @{$_}, '<br/>' for @{ $verrow->{new} };
-       printf '<dt>Unicode</dt><dd>v%s', $_ for $verrow->{unicode} || ();
+       printf '<h2>%vd <small>%s</small></h2><dl>'."\n", $vernum, $verrow->{release};
+       printf '<dt>%s<dd>%s'."\n", @{$_}, '<br/>' for @{ $verrow->{new} };
+       printf '<dt>Unicode</dt><dd>v%s'."\n", $_ for $verrow->{unicode} || ();
        print "</dl>\n";
        print "</div>\n\n";
 }