> Maybe ModPerl::Registry should do this, but not mod_perl itself. If someone
Yes, it's a problem with ModPerl::Registry, I agree. It's not mentioned here: http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html#Caveats Where it should be. > is trying to get an old CGI script to work under mod_perl then they'd use > Registry. But there's no reason to make the rest of us suffer for their old > scripts. # This isn't an "old" program...it's a simple program, # and no amount of "strict or warnings" will help debug it use CGI; my $x =CGI::param('foo'); &y; sub y { print "content-type:text/plain\n\n?$x\n"; }
