X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/25f6f19cc38375f05a72cfc599044d7ade346715..HEAD:/countries.plp diff --git a/countries.plp b/countries.plp index dfe9a48..efd2f25 100644 --- a/countries.plp +++ b/countries.plp @@ -14,7 +14,7 @@ Html({

ISO-3166-1α2 Country codes

<: -my $cc = do 'data/countries.inc.pl'; +my $cc = Data('data/countries'); { printf ''; @@ -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}; :> + +