> -----Original Message-----
> From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 05, 2000 10:30 AM
> To: 'Vivek Khera'; mod_perl list
> Subject: RE: [RFC: performance] Preloading Perl Modules at Server
> Startup
> 
> 
> 
> [snip]
> > > 
> > > Also, I'd recommend using libapreq's Apache::Request if you 
> > don't need
> > > the content generating parts of CGI.pm... which leads to an
> > > enhancement I'd like to see Doug add to libapreq's functionality:
> > > 
> > > Currently, you need to do a call like this if you're using
> > > Apache::Request inside a Registry script:
> > > 
> > >  my $ar = Apache::Request->new(Apache->request()) or die 
> > > "Whoa Nelly!";
> > 
> > my $apr = Apache::Request->new(shift);
> 
> 
> did I really just say that?
> 
> I guess that doesn't work for Registry scripts after all... 
> sorry for the
> FUD :)

ok, it does work... I'll stop posting now...

> 
> --Geoff
> 
> 
> > 
> > requires less typing and still has the desired effect in 
> > Regitry scripts or
> > handlers...
> > 
> > --Geoff
> > 
> > > 
> > > I'd like to see the Apache::Request->new() method 
> automatically call
> > > Apache->request() if no parameters are passed to it.  Inside a
> > > Apache->handler, it is easy since you already have a 
> Apache->request
> > > object passed to you, but in Registry, it is a lot of 
> extra typing.
> > > 
> > 
> 

Reply via email to