in reply to Re^2: modify @INC
in thread modify @INC
I recall once using eval & use together to dynamically load specific modules when needed... This was before I knew about AUTOLOAD and SelfLoader and all...$a="/my/module/path"; eval "use lib '$a'"; eval { use MyModule; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: modify @INC
by Aristotle (Chancellor) on Jan 17, 2003 at 01:42 UTC |