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