Re: intermittent import errror from Apache2::RequestUtil

2007-09-13 Thread Geoffrey Young
> > SD (sure does) :) fwiw, the "don't export anything" syntax (that is, the empty list) will actually save you a bit of memory, as nothing will be exported into the current namespace. that's why you see that syntax all over the mod_perl docs as a best practice. > > Out of curiosity, why wo

Re: intermittent import errror from Apache2::RequestUtil

2007-09-13 Thread Charlie Katz
On Thu September 13 2007 1:35:13 pm Geoffrey Young wrote: > the only reason to use that syntax would be so that perl knows which > method to call when you use document_root() by itself without a class or > package qualifier. which, of course, is quite meaningless, as you need > a request object to

Re: intermittent import errror from Apache2::RequestUtil

2007-09-13 Thread Geoffrey Young
Charlie Katz wrote: > Hi, > > After some recent development work that included installing some new modules, > I'm suddenly seeing an intermittent import error: > > "document_root" is not exported by the Apache2::RequestUtil module > > This comes of course from the line > >use Apache2::

intermittent import errror from Apache2::RequestUtil

2007-09-13 Thread Charlie Katz
Hi, After some recent development work that included installing some new modules, I'm suddenly seeing an intermittent import error: "document_root" is not exported by the Apache2::RequestUtil module This comes of course from the line use Apache2::RequestUtil 'document_root'; which appear