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

> 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.

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

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


Reply via email to