How can I check the location of perl and CPAN files?
- by Rob
I constantly have to set up new servers for an employer of mine for an exact purpose of his, and as such they all have to be set up in exactly the same way. So I've created a script in PHP that I run from my own box to automatically send over all the relevant files, compile everything, run updates, and everything else.
However, for some reason these brand new servers come with perl, which is fine, but they have perl installed in different locations. This makes it a pain for me to copy over Config.pm for CPAN without going in and finding the location manually.
Is there perhaps some command I'm unaware of that will hunt down the precise location?
If it helps, usually the servers are CentOS 5