CPAN itself is part of the basic perl installation. He will always be available.
If you cannot use the cpan
shell to communicate with the Internet and receive modules, you can at least grab the tarball from the CPAN site, put it on the target machine, deploy it, and then run
$ cpan .
from the unpacked directory. This will launch the CPAN installer for this distribution. Of course, if he finds the missing dependencies, you will have to extract them recursively using the same technique.
source share