perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Peters <mpet...@plusthree.com>
Subject Re: mod_perl and CGI::Application.. Strange Behaviour
Date Fri, 26 Oct 2007 15:20:42 GMT
Perl Modulator wrote:

> I am trying to create mod_perl based appln using CGI::Application and I am
> just printing a message. Here is the Perl Module Test.pm, which will be
> loaded.

Don't use Test.pm as a module name. There's already something in core Perl with
that name. It's quite likely that you are loading that instead of your test package.

> use lib '/docroot/cgi-perl/test';

This adds the path to @INC at the end for searching. So your Test.pm will be
found after the core Perl one.

-- 
Michael Peters
Developer
Plus Three, LP


Mime
View raw message