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

Reply via email to