X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/25f6f19cc38375f05a72cfc599044d7ade346715..ae48ceadbe58905cc69e046c2182e5bb83bf305f:/countries.plp diff --git a/countries.plp b/countries.plp index dfe9a48..c11a3e8 100644 --- a/countries.plp +++ b/countries.plp @@ -6,7 +6,6 @@ Html({ description => "Table of ISO-3166-1 country codes with the names of reserved territories.", keywords => [qw'country code cc tld cctld continent territory land table'], - stylesheet => [qw'light dark circus mono red'], data => ['data/countries.inc.pl'], }); @@ -14,7 +13,7 @@ Html({

ISO-3166-1α2 Country codes

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