Justudo has asked for the wisdom of the Perl Monks concerning the following question:
This gives the following error in apache log : error Can't call method "header_in" on an undefined value at /app/routineB line 151.routine A (request_uri line works fine) --------- sub handler { my $r = shift; my $request_uri = param('request_uri') || ($r->prev ? $r->prev->uri : cookie('request_uri')); my ($ver_result, $ver_msg) = $authTool->verify($r->prev); routine B --------- # AuthTools::verify() # Call as: # ($result,$msg) = $authTool->verify($r) sub verify { my($self, $r) = @_; my %cookies = CGI::Cookie->parse($r->header_in('Cookie')); ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache handler passing
by edoc (Chaplain) on Jun 05, 2003 at 03:53 UTC |