in reply to Re: mod_perl leaking variables?in thread mod_perl - local vs my...
In newer version of Perl (don't know which exactly, but probably 5.8.0 and up), you can get rid of the local completely:
I know this sytax works in perl 5.6.1