Click here to get back home

Override System Module With Newer Local Version (noob)

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Override System Module With Newer Local Version (noob) Timie Milie 02-02-2006
Posted by Timie Milie on February 2, 2006, 7:36 am
Please log in for more thread options


I am trying to install bugzilla on my web host.
Needless to say I don't have root access.
I have set up a local perl directory for modules ~/perl and I have set
and exported PERL5LIB so that it points to the local lib directory.
I am using CPAN to install the modules.
I am brand new to CPAN and modules so bear with me...
Installing new modules works fine but installing newer versions of
existing modules is not happening.
e.g. Bugzilla needs File::Spec v0.84 the system has v0.82
I can't seem to get 0.84 to install (even with force).
I suspect this could be because:

1. v0.82 is the latest version for my version of Perl (5.6.1). Does CPAN
work this way? Do I need a newer version of Perl to get the latest
version of the modules?

or

2. v0.82 is new enough and because it is already installed it is not
upgraded?

or

3. v0.84 simply isn't on CPAN yet and I'll have to install it manually?

Q: Which of the above (if any) is the case?

Q: m File::Spec seems to list the installed module version rather than
the CPAN version. Is there anyway of getting the CPAN version?

Q: Is it acutally possible to override existing older modules with newer
ones.

Q: (Finally) My .bash_profile exports PERL5LIB but I have a nasty
feeling this will have no affect on bugzilla which is not run from an
interactive shell. Is there an alternative without having to go through
and add use statements to all the files in Bugzilla.

Thanks in advance,

Tim.

Similar ThreadsPosted
Noob Q: Ways for module to find config file? March 3, 2005, 5:47 pm
File::Spec version 0.08 required--this is only version 0.87 December 22, 2004, 4:00 pm
Perl module disk usage, for embedded system. December 5, 2005, 8:38 am
How can I install Image::Magick module on windows system? December 10, 2005, 3:36 pm
Local installation of perl module September 5, 2005, 9:07 am
CPAN module local installation question July 12, 2006, 4:49 am
Module to return Local Policy Info July 13, 2008, 1:50 pm
HOWTO - do local ppm module install (fix "Could not locate a PPDfile") July 9, 2005, 5:25 pm
New module Filesys::DfPortable & new version Filesys::Df May 18, 2006, 12:49 am
system return value? January 26, 2007, 5:52 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap