X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fstates.cgi;h=02b7be4aff21a9a05ebc91e4add1cf9065c518f2;hp=63c494d156dea09d0617b5576b8d737be30261c7;hb=75e11f1d1a5ced24496b5732e290f7762403feb8;hpb=929f432c766bbe3bdeed5b80818a12ddf6ec6339 diff --git a/httemplate/misc/states.cgi b/httemplate/misc/states.cgi index 63c494d15..02b7be4af 100644 --- a/httemplate/misc/states.cgi +++ b/httemplate/misc/states.cgi @@ -1,6 +1,7 @@ -<% +[ <% join(', ', map { qq("$_") } @output) %> ] +<%init> - my $country = $cgi->param('arg'); - my @output = states_hash($country); +my $country = $cgi->param('arg'); +my @output = states_hash($country); -%>[ <%= join(', ', map { qq("$_") } @output) %> ] +