On Wed, Apr 15, 2009 at 10:29:20AM +0200, Torsten Foertsch wrote:
> 
> Ok, then how about checking if your module is really loaded. 
> Apache2::Status provides that or you could probably use this 
> PerlResponseHandler (untested):
> 
> <Location /DUMPMODULES>
>   SetHandler modperl
>   PerlResponseHandler "sub {              \
>     use Data::Dumper;                     \
>     use Apache2::RequestRec();            \
>     use Apache2::RequestIO();             \
>     $_[0]->content_type(q{text/plain});   \
>     $_[0]->print(Dumper(\%INC));          \
>     return 0;                             \
>   }"
> </Location>
> 
> It prints %INC to the browser. So you can check if your module is loaded 
> from the correct path.
> 
This is in the output:

'Example/Image.pm' => '/etc/perl/Example/Image.pm'

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature

Reply via email to