The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 4.13_01 - 2015-02-12

  • RELEASE NOTES
    • This release removes the AUTOLOAD and compile optimisations from CGI.pm that were introduced into CGI.pm many years ago (15+?) as a response to its large size, which meant there was a significant compile time penalty. This essentially deprecates the -compile pragma and ->compile method (the -compile pragma will no longer do anything, whereas the ->compile method will raise a deprecation warning).
    • This optimisation is no longer relevant and makes the code difficult to deal with as well as making test coverage metrics incorrect. Benchmarks show that advantages of AUTOLOAD / lazy loading / deferred compile are less than 0.05s, which will be dwarfed by just about any meaningful code in a cgi script. If this is an issue for you then you should look at running CGI.pm in a persistent environment (FCGI, etc)
    • To offset some of the time added by removing the AUTOLOAD functionality the dependencies have been made runtime rather than compile time. The POD has also been split into its own file. CGI.pm now contains around 4000 lines of code, which compared to some modules on CPAN isn't really that much
    • Although this release should be back compatible you are encouraged to test it throughly as if you are doing anything out of the ordinary with CGI.pm (i.e. have bugs that may have been masked by the AUTOLOAD feature) you may see some issues. References: GH #162, GH #137.

Documentation

CGI

Modules

CGI
Handle Common Gateway Interface requests and responses
CGI routines for writing to the HTTPD (or other) error log
Interface to HTTP Cookies
module to produce nicely formatted HTML code
Simple Interface to Server Push
Internal utilities used by CGI module

Provides

in lib/CGI/File/Temp.pm
Fh
in lib/Fh.pm
in lib/CGI.pm