Please don't top post.

On 4/14/06, chen li <[EMAIL PROTECTED]> wrote:
> Hi Timothy,
>
> Under windows XP I recall perl interpreter look for
> the default paths
>
> C:/Perl/lib
> C:/Perl/site/lib
>
> What I try to say is that how I add something to the
> @INC of perl so that it also looks for another path
> under windows let say
> c:/Perl/local
>
> Where I like to put my own stuff in it. I don't want
> to mix them with others.
>
>
> Thanks,
>
> Li

You can't. At least not after perl is compiled. If you need to use a
module saved to a non-standard location, use 'use lib' in the scripts
that call that module. 'use lib' does exactly what you want. it's the
standard way to add libs to @INC.

HTH,

-- jay
--------------------------------------------------
This email and attachment(s): [  ] blogable; [ x ] ask first; [  ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com  http://www.dpguru.com  http://www.engatiki.org

values of β will give rise to dom!

Reply via email to