in reply to
You can check @INC using a one-liner:
perl -e 'print join "\n", @INC';
Or simply run:
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
. It'll enable strict, warnings, and features.
my $inc = File::PathList->new( paths => \@INC );
say Dumper $inc;
That was just to satisfy my obsession with Dumper:). You should also check to make sure that perl's in your path.