For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > March 2005 > Upgraded perl to 5.8.0, can I reuse old modules?









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 Upgraded perl to 5.8.0, can I reuse old modules?
Brian Barto

2005-03-21, 3:55 pm

Hi!

I just upgraded perl on one of my UNIX machines to 5.8.0 (was 5.6.1). Of
course there is no great surprise that the new perl is telling me it can't
find any of my modules I install under the old version. So my question is,
can I add an extra path to perl @INC array to point to the location of the
modules under the old perl? Or do I have to reinstall each module. Or is
there an alternate solution?

Thanks a bunch!

- Brian

Wiggins d'Anconia

2005-03-21, 3:55 pm

brian.barto@spectrum-health.org wrote:
> Hi!
>
> I just upgraded perl on one of my UNIX machines to 5.8.0 (was 5.6.1). Of
> course there is no great surprise that the new perl is telling me it can't
> find any of my modules I install under the old version. So my question is,
> can I add an extra path to perl @INC array to point to the location of the
> modules under the old perl? Or do I have to reinstall each module. Or is
> there an alternate solution?
>
> Thanks a bunch!
>
> - Brian
>


You should reinstall each module, the old modules are not compatible
with the new Perl, at least if they have an XS/C compiled portion. If
you know they are pure Perl you might get away with it, but I wouldn't try.

You might also consider using something newer than 5.8.0, 5.8.6 is
current stable.

http://danconia.org
Sponsored Links







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

Copyright 2008 codecomments.com