diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-09-12 04:28:40 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-09-12 04:28:40 +0000 |
commit | 9de7479d3f4cbe0be0a7aa9cbe38623aa03d6269 (patch) | |
tree | e6cce7be8cf798f316c7edc21135b94698068642 | |
parent | d1b1f4190ac0f55eeb08e0f676acb4d717996a06 (diff) |
Have install-perl-modules tool
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | README | 6 | ||||
-rwxr-xr-x | tools/install-perl-modules | 12 |
3 files changed, 18 insertions, 1 deletions
@@ -6,6 +6,7 @@ Changes in version 2.0rc3 * Template cleanup: fix a link and add links to .txt versions to front page. * Add sendpings command. + * Have install-perl-modules tool. Changes in version 2.0rc2 - 2002-09-08 * Reopen stdin to /dev/null instead of closing it to avoid @@ -1,4 +1,4 @@ -$Id: README,v 1.30 2002/08/25 09:33:43 weasel Exp $ +$Id: README,v 1.31 2002/09/12 04:28:40 weasel Exp $ ##################################################################### ## R E A D M E F O R E C H O L O T ########################### ##################################################################### @@ -41,6 +41,10 @@ Indirect requirements: Class:MethodMaker (by GnuPG::Interface) File::Spec (by HTML::Template, should be in more recent perl-base) + If you have the CPAN perl module installed, you can use the + »install-perl-modules« script in the tools directory to download and + install the needed perl moduesl. + SETUP ----- diff --git a/tools/install-perl-modules b/tools/install-perl-modules new file mode 100755 index 0000000..3848e8e --- /dev/null +++ b/tools/install-perl-modules @@ -0,0 +1,12 @@ +#! /usr/bin/perl -w + +# This script installs all perl libraries Echolot needs +# using your CPAN module + +use strict; +use CPAN; + +for my $mod (qw{Data::Dumper Digest::MD5 HTML::Template GnuPG::Interface}) { + my $obj = CPAN::Shell->expand('Module',$mod); + $obj->install(); +}; |