optimize CDR rating after timed rate perf regression, RT#15739
[freeside.git] / httemplate / misc / states.cgi
index 63c494d..02b7be4 100644 (file)
@@ -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) %> ]
+</%init>