summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-08-22 00:31:04 +0000
committerivan <ivan>2009-08-22 00:31:04 +0000
commitccdc300b0e5183fba812e6fb1d74e957ea3e2b44 (patch)
treee518432f687a7d91bbf3263722573fc7384c88c8
parent000f20dff74059f44950c7191beaab951aeae316 (diff)
mason style
-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>