in reply to Re: Re: Apache::FakeRequest request object?
in thread Apache::FakeRequest request object?
I'm sorry, but I can't remember any r method of Apache requests... would you be so kind to show me some code? For example, a simple (and stupid) handler would be like the following:
In this code $r will contain the Apache request object and, as you can see in Apache request man page, there is no r method...package myHandler; use Apache::Constants qw(:common); sub handler { my $r = shift; warn "request is ", $r->as_string, "\n"; return DECLINED; }
Ciao, Valerio
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache::FakeRequest request object?
by creeble (Sexton) on Feb 09, 2004 at 21:04 UTC |