In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Wc -Sx- Jones) writes: >zentara wrote: > >> Is it possible to put a dirlist of my module sources into a file, and >> feed the file to CPAN and let it install each one? > > >If CPAN is properly confiured to start with; >on the OLD system - do: > >perl -MCPAN -e 'autobundle' > > After a LOT of stuff ... >it will write something like: > >Wrote bundle file > /Root/.cpan/Bundle/Snapshot_2004_04_03_00.pm > >Inside that file you can get - > >perl -MCPAN -e 'install Bundle::Snapshot_2004_04_03_00' > >Which tells you how to duplicate that particular >installtions... Thbis is NOT recommended...
Why? Granted, it is somewhat different from what the OP asked for. He had a list of tgz files to install. Autobundle lists all the modules that are installed on a given perl. Assuming that the OP has no objection to the tgz files being downloaded from CPAN, autobundle is pretty close. I have made bundle files explicitly, rather than using autobundle, when I want to get an installation up to speed rapidly. Although I find them easier to work with when I don't need to specify particular versions of modules, which is rare anyway. I usually split the modules between two bundles, one of modules whose installations ask questions, and one which doesn't. Then I can run the first one, get the questions out of the way, and then run the second one while I do other stuff. -- Peter Scott http://www.perldebugged.com/ *** NEW *** http://www.perlmedic.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>