Done.
Thanks!

On Jan 9, 2008 5:11 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote:
> On Jan 9, 2008 1:38 PM, yitzle <[EMAIL PROTECTED]> wrote:
>
> > I installed LWP manually into a local directory (~/perl)
> > When I try to install WWW::Mechanize, it finds the old version - not
> > the new local version - and fails.
>
> The new version needs to be the first one found by looking in the @INC
> directories, but your @INC probably doesn't include the local
> directory. You probably want to set the PERL5LIB environment variable.
> When I need this sort of thing, I put something like this in my
> ~/.bash_profile, so that it takes effect automatically in each new
> shell; your shell may require different syntax, and your path may need
> to be different:
>
>    export PERL5LIB=~/perl/
>
> When perl starts running, it will normally add the directories in
> PERL5LIB to the start of @INC before it starts compiling your program,
> resembling what would happen if each program had a 'use lib' line
> added near the top. Using the correct path should allow the
> installation program to find the right module.
>
> Good luck with it!
>
> --Tom Phoenix
> Stonehenge Perl Training
>

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to