http://qs321.pair.com?node_id=227561


in reply to Re^2: modify @INC
in thread modify @INC

Would it be an option to do something like:

$a="/my/module/path"; eval "use lib '$a'"; eval { use MyModule; }
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...