in reply to @INC Errors
Or simply run:perl -e 'print join "\n", @INC';
The "." stands for the current directory; hence, it will always come last in the list. Here's a little snippet that I used a couple of years ago. I was experimenting with chromatic's Modern::Perl. It'll enable strict, warnings, and features.perl -V
That was just to satisfy my obsession with Dumper:). You should also check to make sure that perl's in your path.#!perl use Modern::Perl; use File::PathList; use Data::Dumper::Concise; my $inc = File::PathList->new( paths => \@INC ); say Dumper $inc;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: @INC Errors
by Anonymous Monk on Oct 10, 2011 at 10:34 UTC |