[Pdx-pm] semiautomatic module downloader

Randal L. Schwartz merlyn at stonehenge.com
Wed Jun 6 09:42:13 PDT 2007


>>>>> "Keith" == Keith Lofstrom <keithl at kl-ic.com> writes:

Keith> Is there some method that simplifies the process?  I was thinking 
Keith> a scanner that looks at the Perl app at either download or runtime,
Keith> finds the modules that aren't already downloaded, and generates a
Keith> script that can be run afterwards that interactively downloads the
Keith> new modules from CPAN.  

Yes, it's called "CPAN.pm" or "CPANPLUS.pm", and is smart enough to run a
Makefile.PL or Build.PL that is bundled with your properly created
installation's .tar.gz.  From there, the right CPAN modules are downloaded if
necessary, and your scripts, libs, and docs are installed according to local
policy.

Now, if the tool you want to install didn't get created properly and
includes a Makefile.PL/Build.PL, then shame on them.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


More information about the Pdx-pm-list mailing list