summaryrefslogtreecommitdiff
path: root/httemplate/misc/counties.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/counties.cgi')
-rw-r--r--httemplate/misc/counties.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/misc/counties.cgi b/httemplate/misc/counties.cgi
new file mode 100644
index 0000000..c022a27
--- /dev/null
+++ b/httemplate/misc/counties.cgi
@@ -0,0 +1,7 @@
+[ <% join(', ', map { qq("$_") } @counties) %> ]
+<%init>
+
+my( $state, $country ) = $cgi->param('arg');
+my @counties = counties($state, $country);
+
+</%init>