in reply to CGI::Application and CGI pragmas?
did you try just putting in both those statements?
use CGI qw/-no_undef_params/; use base CGI::Application;
If you want to import all the HTML shortcuts, just add them to the use CGI statement.
use CGI qw/-no_undef_params :standard/;
Since you mention that this is in a mod_perl environment, you should note that the -no_undef_params option may cause all your programs running under mod_perl that use CGI to have that option turned on regradless of how they load CGI.pm. CGI.pm handles these things in Global variables.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI::Application and CGI pragmas?
by Anonymous Monk on May 28, 2005 at 00:23 UTC | |
by cees (Curate) on May 28, 2005 at 00:39 UTC | |
by Anonymous Monk on May 28, 2005 at 23:25 UTC |