X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/c107916780c5d7bf0267ae031a72eb331145d935..3f38a7192491a73a1527179cdd68218f023aed61:/perl.plp?ds=inline diff --git a/perl.plp b/perl.plp index 0ee9639..fed88e2 100644 --- a/perl.plp +++ b/perl.plp @@ -2,12 +2,12 @@ Html({ title => 'perl version cheat sheet', - version => '1.7', + version => '1.11', keywords => [qw' perl version feature features comparison sheet cheat overview summary '], - stylesheet => [qw'light dark red'], + image => 'data/camels.jpg', data => ['perl.inc.pl'], }); @@ -131,6 +131,20 @@ sub featattrs ($attr) { $title = join ', ', $prefix, $title // (); $attr->{name} //= $attr->{feature}; } + if (defined $attr->{bundle}) { + if ($attr->{stable} and !$attr->{bundle}) { + $title .= ' then bundled'; + } + else { + my $v = 'bundled'; + $v .= ' in ' . join(' and ', + # specific version(s) distinct from stable or current + map { sprintf '%vd', $_ } + map { ref eq 'ARRAY' ? @{$_} : $_ } $_ + ) for $attr->{bundle} || (); + $title = join ', ', $title // (), $v; + } + } $title = $title ? sprintf ' (%s)', $title : ''; if (my $eg = $attr->{eg}) {