summaryrefslogtreecommitdiff
path: root/fs_selfservice/FS-SelfService/cgi/misc/counties.cgi
blob: 476fe09a46c8a39ce35bf4a2e844337ddc464045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl -w

use strict;
use CGI;
use FS::SelfService qw( mason_comp );

my $cgi = new CGI;

my $rv = mason_comp( 'comp'         => '/misc/counties.cgi',
                     'query_string' => $cgi->query_string, #pass CGI params...
                   );

#hmm.
my $output = $rv->{'error'} || $rv->{'output'};

print $cgi->header( '-expires' => 'now' ).
      $output;