in reply to Accesing Module directory

At the moment, every module has something like the following in it... use lib 'C:\My\Module\Directory';

This line  use lib 'C:\My\Module\Directory'; goes in your program/script, not in your modules

you can also set these env vars in your shell or perlrun#PERL5OPT, PERLLIB, PERL5LIB...

or programmatically using sitecustomize if you have usesitecustomize

or programatically using File::FindLib , FindBin

and some of these

perl5, perl5::ingy
ToolSet
Syntax::Collector
Toolkit
rig
see perlrun#PERL5OPT , PERLLIB, PERL5LIB
sitecustomize under perlrun#* f*
how to make lexical pragma global, hints ( pl_hints $^H %^H ), taint::all, Re: batch 'use' possible? (perl5.pm Toolset.pm, Syntax::Collector , Toolkit.pm, rig.pm, sitecustomize.pl, PERL5OPT )( load multiple commonly-used favorite modules in a single import expression )

export into / Import::Into

 

:D