in reply to Re: Re^6 (Third Time): mod_perl and cache?
in thread mod_perl and cache?

Or he could just our them, I assume?

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re^8: mod_perl and cache?
by perrin (Chancellor) on Mar 04, 2003 at 21:25 UTC
    Yes, he could use "our" or "use vars" (which I still prefer), but then he'd have to make sure he explicitly reset them at the beginning of every request. Also, passing variables to subs through globals is just not a good practice in general.