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.
In reply to Re^2: Learning mod_perl
by adrianh
in thread Learning mod_perl
by CodeJunkie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |