summaryrefslogtreecommitdiff
path: root/httemplate/misc/states.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/states.cgi')
-rw-r--r--httemplate/misc/states.cgi12
1 files changed, 6 insertions, 6 deletions
diff --git a/httemplate/misc/states.cgi b/httemplate/misc/states.cgi
index cf2b46e..02b7be4 100644
--- a/httemplate/misc/states.cgi
+++ b/httemplate/misc/states.cgi
@@ -1,7 +1,7 @@
-%
-%
-% my $country = $cgi->param('arg');
-% my @output = states_hash($country);
-%
-%
[ <% join(', ', map { qq("$_") } @output) %> ]
+<%init>
+
+my $country = $cgi->param('arg');
+my @output = states_hash($country);
+
+</%init>