a grand renaming so that the most significant portion of the name comes first

This commit is contained in:
Dan Buch
2012-03-03 21:45:20 -05:00
parent c8b8078175
commit f4f448926d
1300 changed files with 0 additions and 234 deletions

View File

@@ -0,0 +1,35 @@
#!/usr/bin/env perl
use strict;
use warnings;
use CGI;
use CGI::Carp qw(carpout fatalsToBrowser);
BEGIN {
use CGI::Carp qw(carpout);
open(LOG, ">>/home/me/tmp/mycgi-log") or
die("Unable to open mycgi-log: $!\n");
carpout(*LOG);
}
sub main {
my $query = CGI->new();
print $query->header(-content_type => 'text/plain');
my $search = $query->param('q');
if (!$search eq undef) {
printf("You searched for: %s\n", $query->escapeHTML($search));
} else {
printf("Invalid search? You must provide a 'q' argument.\n");
}
}
main();
1;
__END__

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env perl
printf("Content-Type: text/plain\n\n");
printf("Hello Test\n");
1;
__END__