Subject: | Quick note about CGI::Debug and CGI.pm |
Date: | Thu, 19 Jun 2014 15:40:21 -0400 |
To: | bug-CGI-Debug [...] rt.cpan.org |
From: | william george <wjgeorge [...] gmail.com> |
Looks like CGI::Debug interferes with the way CGI.pm wants to be loaded,
specifically POST_MAX is not set at the proper time (its being called by
CGI::Debug::init and NOT the mainline).
Fix is to load CGI::POST_MAX in a begin block:
use CGI qw/:standard/; # load standard CGI routines
BEGIN {
$CGI::POST_MAX = 30000;
};
# CGI::Debug interferes with CGI.pm
use CGI::Debug( report => 'everything', on => 'anything', to => { browser
=> 1 },);
---
Hope this helps the next guy that uses this package
Show quoted text
PS> Spelling error with EXAMPELS -> EXAMPLES