On Wed 15 Apr 2009, Roberto C. Sánchez wrote:
> > Would it be possible to post your module? Perhaps you forgot
> > the "package" declaration?
>
> ----------8<---------->8----------
>
> package Example::Image;

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.

Torsten

-- 
Need professional mod_perl support?
Just hire me: torsten.foert...@gmx.net

Reply via email to