X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/dc6b482b5e7e1d3d35b5193fc820c5e1afc29a6e..HEAD:/countries.plp diff --git a/countries.plp b/countries.plp index 1ed8eef..efd2f25 100644 --- a/countries.plp +++ b/countries.plp @@ -14,10 +14,10 @@ Html({

ISO-3166-1α2 Country codes

<: -my $cc = do 'data/countries.inc.pl'; +my $cc = Data('data/countries'); { - printf ''; + printf '
'; print ''; for my $section (qw{thead}) { print "<$section>
↳"; @@ -46,7 +46,7 @@ my $cc = do 'data/countries.inc.pl'; } $cell = showflag($code) // join(' ', - map { showflag($_) || $_ } split / /, $ref + map { showflag($_) || $_ } split(/ /, $ref) ); } else { @@ -89,3 +89,26 @@ my $cc = do 'data/countries.inc.pl'; +<: exit unless exists $get{v}; :> + +