John Black said:
This sounded interesting. So I ran it on my system and got:
perl -lE "print for @INC"
Unrecognized switch: -E (-h will show valid options).
-ver reveals that v5.8.8 is installed.
John Black
You're running something old or not on a linux/MacOS system:
dexlabs-ml[17]~ % perl -lE "print for @INC"
/opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level
/opt/local/lib/perl5/site_perl/5.12.4
/opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level
/opt/local/lib/perl5/vendor_perl/5.12.4
/opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level
/opt/local/lib/perl5/5.12.4
/opt/local/lib/perl5/site_perl
/opt/local/lib/perl5/vendor_perl
..
dexlabs-ml[18]~ % perl --version
This is perl 5, version 12, subversion 4 (v5.12.4) built for
darwin-thread-multi-2level
Copyright 1987-2010, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to
the
Internet, point your browser at
http://www.perl.org/, the Perl Home Page.