|
|
14.02.2006
You can use this module to decode form and query information, including file uploads, as well as cookies in a very simple manner; you need not concern yourself with the actual details behind the decoding process. [ CPAN.org/doc/BENL/CGI-Lite-2.0/Lite.pm ] - [ CPAN.org ]
use CGI::Lite;
print "Content-type: text/html\n\n";
my $cgi = new CGI::Lite;
my $q = $cgi->parse_form_data ('GET');
foreach (keys %{$q}) {
print "$_ $q->{$_}\n";
}
If you're looking for more comprehensive CGI modules, you can either use the CGI::* modules or CGI.pm. Both are maintained by Dr. Lincoln Stein (lstein@genome.wi.mit.edu) and can be found at your local CPAN mirror. Links:
| |||||||||||||
copyright by reto - created with mytexi