in reply to How to call my own perl module from a folder
If I understood your tree correctly. It is best to use the full path name, in case scripts are moved.use lib '\etc\usr\lib';
Alternatively you can manipulate @INC directly in a BEGIN block, but you probably want to avoid that unless you have a good reason.use lib $ENV{MY_PERL_LIB};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to call my own perl module from a folder
by KarthikK (Sexton) on Aug 05, 2008 at 12:43 UTC |