in reply to Re: Re: Re: Apache::FakeRequest request object?
in thread Apache::FakeRequest request object?

Sorry, I'm a dope. The 'r' method is something that happens in *my* code (or in my code's super class, anyway). All I need to do is set the uri and filename of the FakeRequest method, then call the right handler:
use HTTP::Request; use Apache::FakeRequest; use Apache::MP3::Urlwitzer; my $request = Apache::FakeRequest->new('get_remote_host'=>'foobar. +com'); $request->uri('/Music'); Apache::MP3::handler('Apache::MP3::Urlwitzer', $request);
My super class's new() methods set 'r' to the request. Thanks for the help, sorry for the confusion. Creeble