in reply to Re: Learning mod_perl
in thread Learning mod_perl
what was the thing that bite's me most... is that every your page/script runs inside a sub()
This is only true if you're using the mod_perl Apache::PerlRun or Apache::Registry handlers - which are mainly used for the conversion of existing CGI based scripts to run under mod_perl.The CGI to mod_perl Porting of the mod_perl guide covers this.
Once you start writing "native" mod_perl code the problem goes away.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^2: Learning mod_perl
by bugsbunny (Scribe) on Jul 12, 2003 at 08:39 UTC | |
by adrianh (Chancellor) on Jul 12, 2003 at 15:16 UTC | |
by bugsbunny (Scribe) on Jul 15, 2003 at 11:33 UTC | |
by adrianh (Chancellor) on Jul 15, 2003 at 12:54 UTC |