Hi there , im not sure whether im in the right section, but because im talking about perl, i guess this is the right place
I have a whole host (thousands in fact) of Solaris machines that are running different versions of perl with different module sets etc.
I wanted to know whether it was possible for me to set up my own 'internal' CPAN mirror that i can update with all 5.x modules so that i can go to each of my hosts and point it to my new CPAN repository to get updated or new modules ? (regardless if the host is running perl 5.005_03 or 5.10.0) As you can guess, my machines do not have direct access to the internet
I guess the other question would be, Can i use this internal CPAN mirror to actually upgrade perl on my system? i have a few machines that are running
This is perl, version 5.005_03 built for sun4-solaris
It would be nice if i could get them all to the latest 5.10 perl without major hassle?
Why can't you download & install the necessary pm's in a repository in one server and make that filesystem NFS mounted on other servers? Add the necessary additions in the PATH for the local perl installed in the server(whichever version it may be)
I guess that will be efficient and more suitable for your requirement.
You can mirror CPAN using either rsync as detailed in How do I mirror CPAN? in the CPAN FAQ, or by using the CPAN::Mini module (and the minicpan utility). Both will mirror down the sources for Perl (minicpan only the most current version), but from there you'll have to build it yourself.
That is just the first part .ie, making it sync with the cpan mirror in one server. But even if he make it sync, he needs to have that installed modules available to all other servers.