Here's how you get all of CPAN to carry around with you.
Check out merlyn's minicpan script. In that script, set the $LOCAL variable to a directory of your choice, and the $REMOTE to a CPAN server near you. Run that script on a machine with internet access. Burn the directory to a CD (or copy it to a USB stick).
On the target machine, mount the medium. Run cpan and set the first item in urllist to the directory containing the CPAN archive (e.g. /mnt/cdrom/MINICPAN):
$ cpan cpan shell -- CPAN exploration and modules installation (v1.xxxx) cpan> o conf urllist unshift file:///mnt/cdrom/MINICPAN cpan> o conf commit commit: wrote /home/user/.cpan/CPAN/MyConfig.pm cpan>
Voilà. You are ready to install any CPAN Module from your removable device.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: Installing modules from a local machine
by shmem
in thread Installing modules from a local machine
by jimman666
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |