On Wed, 2005-05-18 at 16:30 +0100, Martin Moss wrote: > 1) using %ENV > 2) setting using our own subclass of Apache::Request's > pnotes or notes methods
I like pnotes because it's guaranteed to get cleared at the end of the request. Also, anything you can do via %ENV can be done via any perl global, like %My::Shared::Var. > I also believe there > has been some discussion on this list a while ago, > which came out in favour of not using %ENV at all if > it can be helped.... But I can't remember why this was > a bad thing...? There are more hoops to jump through for setting %ENV, since those are actual environment variables. Might be a problem with threads too, but I'm not sure about that. - Perrin
