creeble has asked for the wisdom of the Perl Monks concerning the following question:
I tried creating an HTTP::Request object and initializing it as 'r', blessed every which way, but the FakeRequest object still can't find it:
Do I have to subclass Apache::FakeRequest to make this work?$r = HTTP::Request->new(GET=>'/Hey'); $fr = Apache::FakeRequest->new('r'=>bless $r, HTTP::Request (or about +a million other different variations) ); $fr->r->uri (or just $fr->r) not found at run time.
Creeble
Edit by tye, change PRE tags to CODE tags, preserve formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache::FakeRequest request object?
by valdez (Monsignor) on Feb 01, 2004 at 09:46 UTC | |
by creeble (Sexton) on Feb 03, 2004 at 02:43 UTC | |
by valdez (Monsignor) on Feb 03, 2004 at 19:30 UTC | |
by creeble (Sexton) on Feb 09, 2004 at 21:04 UTC |