I have a couple hundred servers, most of which have perl installed. Unfortunately, they don't have many CPAN modules installed. I think a major reason is that it gets hard to manage.
Has anyone had to deal with this? Some solutions I can think of (none that seem palatable right now):
- running perl -e shell -MCPAN ... on each box, either by hand or by a script. This is quite resource- and time- intensive.
- NFS mounting modules from a central location, so you only have to install it once. This is hard, since some modules may or may not be included in a core distribution, so it's hard to know what to mount.
- Putting the scripts on a couple servers, and concentrate on managing those. This is what I've been leaning towards, but I'm realizing this is a simplistic view - that there are instances where I want to use perl on a machine that's not in my core group, and to do so, I'd have to forgo using modules I've gotten used to.
These boxes are a mix of HP-UX, Linux running perl 5.6.x to 5.8.x. Thoughts?