Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : Perl License
CreatedCreated : Jan 25, 2011
Size downloadDownloads : 4
Program licensing
Thank you for voting...

The module can handle Common Gateway Interface ...

The module can handle Common Gateway Interface request and responses, and is suitable to use when writing applications running on cgi.
Major features including processing form submissions, file uploads, HTML generation utilities, reading and writing cookies, query string generation and manipulation, and processing and preparing HTTP headers.
CGI. pm comes with built-in support for mod_perl and mod_perl2 as well as FastCGI.
Documentation is found in POD (plain old documentation) form in CGI. pm
itself. When installing CGI, manaul pages will automatically be installed.
CGI. pm has been included in the official Perl distribution since Perl 5. 4, and has become a de-facto standard.
When writting code for CGI, there are two styles of programming with CGI. pm, an object-oriented style and a function-oriented style.

• Perl 5 or higher
News in the current CGI. pm version:


• A new option to set $CGI::Carp::TO_BROWSER = 0, allows you to explicitly exclude a particular scope from triggering printing to the browser when fatatlsToBrowser is set. (RT#62783, Thanks to papowell)

• The < script> tag now supports the "charset" attribute. (RT#62907, Thanks to Fabrice Metge)

• In CGI::Cookie, "Max-Age" is now supported for better spec compliance. (mark Stosberg)


• Setting charset() now works for all content types, not just "text/*". (RT#57945, Thanks to Yanick and Gerv. )

• Support for user temporary directories ($HOME/tmp) was commented out in 2. 61 but the documentation wasn't updated (Peter Gervai, niko Tyni)

• Setting $CGITempFile::TMPDIRECTORY before loading CGI. pm has been working but undocumented since 3. 12 (which listed it in Changes as $CGI::TMPDIRECTORY) (Peter Gervai, Niko tyni)

• Unfortunately the previous change broke the runtime check for looking for a new temporary directory if the current one suddenly became unwritable (Peter Gervai, Niko Tyni)

• A bug was fixed in CGI::Carp triggered by certain death cases in the BEGIN phase of parent classes. (RT#57224, Thanks to UNERA, Yanick Champoux, Mark stosberg)

• CGI::Cookie-> new() now follows the documentation and returns undef if the -name and -value args aren't provided. This new behavior is also consistent with the docs and code of CGI::Simple::Cookie. (Mark Stosberg)

• CGI::Cookie-> parse() now trims leading and trailing whitespace from cookie elements as intended. The change also makes this part of the parsing identical to CGI::Simple::Cookie (Mark Stosberg)

• Temp file handling was improved (RT#62762)


• Further improvements have been made to guard against newline injections in headers. (Thanks to Max Kanat-Alexander, Yanick Champoux, Mark Stosberg)


• Make EBCDIC a compile-time constant so there's zero overhead (and less compiled code) in subroutines that test for it. (Tim Bunce)

• If you just want to use CGI::Cookie, CGI. pm will no longer be loaded unless you call the bake() method, which requires it. (Mark Stosberg)


• Quit referring to the < link> tag as being "rarely used". (Victor Sanders)

• Typo and whitespace fixes (RT#62785, thanks to scop@cpan. org)

• The -dtd argument to start_html() is now documented (RT#60473, Thanks to giecrilj and steve@fisharerojo. org)

• CGI::Carp doc are updated to reflect that it can work with mod_perl 2. 0.

• When creating a temporary file in the directory fails, the error message could indicate the root of the problem better (Peter Gervai, Niko Tyni)


• Re-fixing https test in http. t. (RT#54768, thanks to SPROUT)

• param_fetch no longer triggers a warning when called with no arguments (ysth, Mark Stosberg) 3.51 scripting tags: niko, stosberg, cgi, mark, script, server response, perl cgi, tyni, cgipm, cgi script, request. What is new in 3.51 software script? - Unable to find 3.51 news. What is improvements are expecting? Newly-made 3.52 will be downloaded from here. You may download directly. Please write the reviews of the License limitations are unspecified.