common: bump version to 1.11
[sheet.git] / perl.plp
index 17145e360f2ae804d7c2ce87ca490e8c5d9fc53d..0476a9e4ae14854e56aa90fce0996f40f29bf4bb 100644 (file)
--- a/perl.plp
+++ b/perl.plp
@@ -2,7 +2,7 @@
 
 Html({
        title => 'perl version cheat sheet',
-       version => '1.2',
+       version => '1.3',
        keywords => [qw'
                perl version feature features comparison
                sheet cheat overview summary
@@ -24,7 +24,7 @@ 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};
+       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};