Html({
title => 'perl version cheat sheet',
- version => '1.8',
+ version => '1.11',
keywords => [qw'
perl version feature features comparison
sheet cheat overview summary
'],
image => 'data/camels.jpg',
- stylesheet => [qw'light dark red'],
data => ['perl.inc.pl'],
});
$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 ' <em class="ex">(%s)</em>', $title : '';
if (my $eg = $attr->{eg}) {