|
Posted by Tom on July 26, 2006, 8:56 am
Please log in for more thread options
lobo_nz wrote:
> Well, I removed mod-perl2 and reverted the mod-perl scripts to CGI and
> all works great, I still want to know what is going on with CGI.pm and
> mod_perl2 :\
Nine times out of ten this is caused by the CGI script remembering
variables from a previous session, since mod_perl keeps the CGI program
in memory and the script no longer initialized between calls. Standard
mod_perl technique requires that you always turn on strict pragma (use
strict; ) and develop with warnings pragma (use warnings;).
Good information on porting CGI to mod_perl is under
http://perl.apache.org/docs/1.0/guide/porting.html
Tom
|