For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > November 2004 > How to install LWP.pm module









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to install LWP.pm module
Prabahar Mosas

2004-11-25, 3:55 am

_
Dear All,

I am using perl 5.00503. In this perl lot of pm modules
are missing. I want to add LWP.pm,Warnings.pm in this perl.If
anybody know regarding this mail me.

by
prabahar


Ramprasad A Padmanabhan

2004-11-25, 8:56 am

On Thu, 2004-11-25 at 11:43, Prabahar Mosas wrote:
>
> Dear All,
>
> I am using perl 5.00503. In this perl lot of pm modules
> are missing. I want to add LWP.pm,Warnings.pm in this perl. If
> anybody know regarding this mail me.


You will have to upgrade perl to get warnings working. Upgrade is in any
case unavoidable, a lot of modules will not get installed if you use old
perl.

Ram



Chris Devers

2004-11-25, 3:55 pm

On Thu, 25 Nov 2004, Rampra A Padmanabhan wrote:

> On Thu, 2004-11-25 at 11:43, Prabahar Mosas wrote:
>
> You will have to upgrade perl to get warnings working.


Maybe; he should still be able to use the -w flag on the shebang line.

> Upgrade is in any case unavoidable, a lot of modules will not get
> installed if you use old perl.


Maybe; he should still be able to install Bundle::LWP with his Perl
instance as long as it's not *that* old. Unless things have changed, the
module works at least as far back as Perl 5.4 / 5.004, and that's going
back nearly a decade, iirc.

If you do choose to upgrade Perl, put the new one in a directory like
/usr/local or /opt, and don't tamper with the one that your vendor put
in /usr/bin. A lot of system commands are tested against the version of
Perl that was shipped with the operating system, and upgrading it can
sometimes break backwards compatibility and so break system scripts.
It's safer to just put everything in /usr/local and pretend that the
system's copy of Perl just doesn't exist...



--
Chris Devers
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com