zakzebrowski has asked for the wisdom of the Perl Monks concerning the following question:

Hi All,
I am trying to install bundeled software on a computer that does not have access to the internet. Is there a (simple) way to use a bundle packages together so that the CPAN module does *not* try to check to see if there is a newer version of the software?
Regards,
Zak

----
Zak
"There is no room in this country for hyphenated Americanism" ~ Theodore Roosevelt (1915)

Replies are listed 'Best First'.
Re: Bundles with no network access
by Joost (Canon) on Aug 06, 2002 at 11:48 UTC
    I keep a local CDROM with the CPAN archive at home, and make it work by editing CPAN::Config.pm

    The only line you need to change is

    'urllist' => [q[file://mnt/cdrom/CPAN]];
    And it will only seek from that cdrom. You might have to do some more work to get it working without any CPAN bookkeeping files though.
    -- Joost downtime n. The period during which a system is error-free and immune from user input.
      Interesting... I didn't know you could mount a local cpan archive... (Unfortunately, I don't have access to the hardware either... I get to just sit at a dumb terminal...) I'm definatly making a mental note... :-)
      Thanks... :-)

      ----
      Zak
      "There is no room in this country for hyphenated Americanism" ~ Theodore Roosevelt (1915)