It is not clear what is meant by "in a team."
If the team is located in a company, the best solution is, of course, a common directory in which only CPAN modules are installed.
If a team is a group of guys working together with their home computers, there are several solutions.
One who comes to mind looks like this:
You have a generic version of the “latest version of the module to install” in a file, available publicly from the Internet (on someone’s homepage, in your favorite version control system, in Google docs, whatever).
/ li>Write a little Perl script that retrieves this file from the Internet or checks it from the repository, iterates through each CPAN module specified in the file, and verifies that the locally installed version is correct. If an update is needed, install the script update from CPAN .
Run this script as a scheduled task ( cron on Unix or at / scheduler on Windows) as the admin / root account, or at least an account for which perms is enough to install CPAN.
I won’t give details about the implementation of the script because I don’t even know if it is for Windows or Unix, and doing all these tasks is pretty routine Perl coding - if you get stuck, you are always welcome to ask questions about SO! :)
source share