perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Waldstein <w...@library.ho.lucent.com>
Subject Re: curious error related to SSI filtering (I think)
Date Fri, 18 Oct 2002 19:42:45 GMT

> my $r = Apache -> request ;

And that did it!  Thanks very much - makes a number of aspects of how
this ties together clearer for me as well!
  thanks, bob
-- 
Robert K. Waldstein                Email: wald@lucent.com
Bell Laboratories, Room 3A-531     Phone: (908) 582-6171
600 Mountain Avenue
Murray Hill, New Jersey  07974



On Fri, Oct 18, 2002 at 08:39:01PM +0200, Gerald Richter wrote:
> >
> >   I have an authentication handler that cleverly starts like:
> >     sub handler {
> > my $r = shift;
> >...
> >
> > THe error I am getting is:
> >     [error] Can't locate object method "is_initial_req" via package
> "Apache::AUTHtest" at ...
> >
> 
> Just use
> 
> my $r = Apache -> request ;
> 
> and you should get the correct request record. I'am not quite sure how
> Apache::EmbperlFilter works, but it is possible that
> 
> my ($self, $r) = @_ ;
> 
> works too
> 
> Gerald
> 
> 
> -------------------------------------------------------------
> Gerald Richter    ecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
> 
> Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
> E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
> WWW:        http://www.ecos.de      Fax:      +49 6133 925152
> -------------------------------------------------------------
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message