in reply to Runtime use of "use lib <xxx>"
The simplest method of modifying @INC at runtime has been mentioned; it is, after all, just an array.
If you want all of the semantics of use lib at runtime you can also use:
use lib; ...; lib->import($path);I occasionally use this idiom with use base.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Runtime use of "use lib <xxx>"
by datalas (Novice) on May 20, 2004 at 10:30 UTC |