[Chicago-talk] Dynamic @INC builder?
lembark at wrkhors.com
Fri Jan 23 17:23:28 CST 2004
> AFAIK, it does require a specific directory structure,
> but I'm sure Steven will correct me if I'm wrong. It
> does look like the closest thing to what I'm
> suggesting, but I still don't like being locked into a
> particular structure.
The only requirement is that tracing $Bin -- or the path you
pick -- will lead to the library dir's. Eventually you will
have to put SOME structure onto your sandbox, unless all of
the code you are running will be personal and specific to
your home directory. If your development environment is that
If you want to find ~/mylibs then:
1. do your development below ~
2. use FindBin::libs qw( base=mylibs );
finito. Your ~/mylibs directory will be in @INC.
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 888 359 3508
More information about the Chicago-talk