laziness, impatience, and hubris | |
PerlMonks |
Re: CHECK and INIT under mod_perlby perrin (Chancellor) |
on Dec 12, 2004 at 17:18 UTC ( [id://414242]=note: print w/replies, xml ) | Need Help?? |
It's pretty unusual to actually need a CHECK or INIT, so this doesn't come up a lot on the mod_perl list, but I would guess that you could replace it with a sub called during a phase like PerlChildInitHandler. You can make your BEGIN block register this handler automatically if $ENV{'MOD_PERL'} is true.
In Section
Seekers of Perl Wisdom
|
|