rkg has asked for the wisdom of the Perl Monks concerning the following question:
I get this erroruse Apache::Constants; print OK, "\n";
Here's my @INC:Undefined subroutine &Apache::Constants::OK called at test.pl line 1.
The perl is 5.8:perl -e'print join("\n", @INC)' /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
Any help most welcome --perl -v This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: newbie mod_perl: @INC and Apache::Constants
by perrin (Chancellor) on Jul 31, 2003 at 17:47 UTC | |
|
Re: newbie mod_perl: @INC and Apache::Constants
by dga (Hermit) on Jul 31, 2003 at 17:54 UTC | |
|
Correction
by rkg (Hermit) on Jul 31, 2003 at 17:40 UTC | |
|
Re: newbie mod_perl: @INC and Apache::Constants
by mod_alex (Beadle) on Aug 01, 2003 at 08:27 UTC | |
|
still stuck...
by rkg (Hermit) on Jul 31, 2003 at 18:10 UTC | |
by simonm (Vicar) on Jul 31, 2003 at 19:31 UTC | |
by rkg (Hermit) on Jul 31, 2003 at 20:33 UTC | |
by perrin (Chancellor) on Jul 31, 2003 at 21:52 UTC |