I am using params::validate and want to switch it off in production where i use it with apache httpd and mod_perl.
I set in the .cshrc.config PERL_NO_VALIDATION to 1.
Afterwards in the local_httpd.config i use PassEnv PERL_NO_VALIDATION
The parameter is passed well as i can verify it with warn $ENV{PERL_NO_VALIDATION}.
When i run the same cgi through command line everything works fine.The 'x' parameter (undef) to Y::foo was an 'undef', which is not one o +f the allowed types: scalar at Y.pm line 70. ... ModPerl::ROOT::ModPerl::Registry::z_2ecgi::handler('Apache2::Reque +stRec=SCALAR(0xb61b6a8)') called at ... eval {...} called at ... ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xb6360c8)') +called at ... ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0 +xb6360c8)') called at ... ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestR +ec=SCALAR(0xb61b6a8)') called at -e line 0 eval {...} called at -e line 0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |