[Chicago-talk] Dynamic @INC builder?
Ed Summers
ehs at pobox.com
Fri Jan 23 11:38:27 CST 2004
On Fri, Jan 23, 2004 at 08:54:19AM -0800, Jim Thomason wrote:
> In short, is there an existing module that will
> dynamically populate @INC based upon certain keywords?
> 1) Does this already exist?
Steven's FindBin::libs [1] (which I installed this morning) is a similar
tool for handling situations like this. I think you would need to synch up the
names of your library locations though:
/Users/jim/Documents/Perl/lib
/home/thomason/perl/lib
Which could be used by putting this in your script:
use FindBin::libs;
> 2) Does it sound useful?
I like the config idea, but then you have the problem of which config file
to use in different environments no?
> 3) How's "Lib::Finder" sound as a name?
I like it.
//Ed
--
Ed Summers
aim: inkdroid
web: http://www.inkdroid.org
More information about the Chicago-talk
mailing list