CGI::EasyCGICGI::EasyCGI is a lightweight Perl module for handling the most common CGI functions. | |
Download |
CGI::EasyCGI Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jeremy Wall
- Publisher web site:
- http://search.cpan.org/~zaphar/Test-Moose-MockObjectCompile-0.2.1/lib/Test/Moose/MockObjectCompile.pm
CGI::EasyCGI Tags
CGI::EasyCGI Description
CGI::EasyCGI is a lightweight Perl module for handling the most common CGI functions. Simple to use, single file with no dependencies, and short learning curve for those times when you don't want or need the swiss army knife of cgi modules.Synopsisuse CGI::EasyCGI;my $Page = EasyCGI->new_page("html");my $Cookie = {Name => "pklogin", Value => {UserName => $Self->{Env}{username}, Password => $Self->{Env}{password}}; $Page->add_cookie($Cookie);%PKEnv = EasyCGI::cgi_request() or die "No Http Environment";%Cookies = EasyCGI::get_cookie_list() or die "no cookies";$SomeCookie = $Cookies{SomeCookieName}; $SomeCookieValue = $$SomeCookie(SomeCookieVariable};my $Html = "hello world!!"; $Page->append_to_page($Html);$Page->print_page();This module handles all the details of sending a document of any content type to a WebBrowser. It also handles retrieving form data from sent via "get" or "post" in regular or multipart/form-data encodings(file uploads). It does this transparently to the user through a single interface. Finally it handles setting and retrieving cookies. It does all this as a standalone module with no dependencies for an easy install. Requirements: · Perl
CGI::EasyCGI Related Software