X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/15c3c1b34a2b34773d8ca4c67a8f8698ed8f310d..f35a681178dbc9a466546f8d1613f93a312def0a:/perl.plp diff --git a/perl.plp b/perl.plp index 590cefa..cdfe47f 100644 --- a/perl.plp +++ b/perl.plp @@ -2,7 +2,7 @@ Html({ title => 'perl version cheat sheet', - version => '1.8', + version => '1.9', keywords => [qw' perl version feature features comparison sheet cheat overview summary @@ -132,6 +132,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}) {