in reply to Re^3: two lib folders
in thread two lib folders
that needs to be
To be consistent with the above post ofuse lib ('/path/to/2/', '/path/to/1/');
Full demo:use lib "/path/to/1/"; use lib "/path/to/2/";
[davidrw@host davidrw]$ perl -le 'use lib qw(/path/to/1/); use lib qw( +/path/to/2/); print join " ", @INC[0..1]' /path/to/2/ /path/to/1/ [davidrw@host davidrw]$ perl -le 'use lib qw(/path/to/1/ /path/to/2/); + print join " ", @INC[0..1]' /path/to/1/ /path/to/2/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: two lib folders
by Belgarion (Chaplain) on Dec 05, 2005 at 22:22 UTC |
In Section
Seekers of Perl Wisdom