perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Aronesty <earone...@gmail.com>
Subject Re: WELCOME to modperl@perl.apache.org
Date Thu, 12 Feb 2009 17:53:33 GMT
> 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";
 }

Mime
View raw message