"be consistent" | |
PerlMonks |
Re: problem setting up local mod repository with mcpaniby proceng (Scribe) |
on Apr 20, 2010 at 20:37 UTC ( [id://835878]=note: print w/replies, xml ) | Need Help?? |
I would do it one of the following ways:
Unfortunately, there is no clean way to do this without a significant amount of work, since some of the modules return 0 or 'undef' for the version numbers. Your best bet is to:
One caveat in storing the perl libraries and in-house scripts locally is that, if there is an issue, it takes local intervention to fix a problem or update to a new version. Networked installations (depending on network size) can often be much cleaner. HTH
Update: This is not surprising I suppose, since cpan is parsing and using /root/.cpan/Metadata which likely stores info from when I was working with a public cpan repository, but I only want it to look at what is in the local repository I am setting up.Also use "reload index" in CPAN or "x --update-source" in CPANPLUS to recreate the indices with your private repository information.
In Section
Seekers of Perl Wisdom
|
|