box-o-sand/web/html/cgi-bin/query.cgi
2011-01-03 17:32:50 -05:00

23 lines
250 B
Perl
Executable File

#!/usr/bin/env perl
use strict;
use warnings;
use CGI;
sub main {
my $query = CGI->new();
my $search = $query->param('q');
print $query->header();
print "You searched for: ", $query->escapeHTML($search);
}
main();
1;
__END__