chars: compare apple fonts
[sheet.git] / perl.plp
1 <(common.inc.plp)><:
2
3 Html({
4         title => 'perl version cheat sheet',
5         version => 'v1.0',
6         keywords => [qw'
7                 perl version feature features comparison
8                 sheet cheat overview summary
9         '],
10         stylesheet => [qw'light dark red'],
11         data => ['perl.inc.pl'],
12 });
13
14 :>
15 <h1>Perl cheat sheets</h1>
16
17 <:
18 my $info = do 'perl.inc.pl' or die $@ // $!;
19 for my $ver (reverse sort keys %{$info}) {
20         print '<div class="section">'."\n";
21         printf '<h2>%vd</h2><dl>'."\n", $ver;
22         printf '<dt>%s<dd>%s', Entity(@{$_}), '<br/>' for @{ $info->{$ver} };
23         print "</dl>\n";
24         print "</div>\n\n";
25 }
26