in reply to How can I programmatically install a module from file.

While CPAN::Mini looks like to do the same thing (and easier, but I need to test it before telling!) you can do the following:

  1. From a Internet connected machine, use the CPAN module and download all the modules that you need.
  2. Create a bundle with those modules
  3. Copy the entire CPAN directory to the offline machine and the Bundle file that you created
  4. Edit the CPAN module configurations telling it to use a file: as the repository, giving it the location of the CPAN directory that you just copied
  5. Install everyting using the bundle you had created
Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill
  • Comment on Re: How can I programmatically install a module from file.