summaryrefslogtreecommitdiff
path: root/tools/install-perl-modules
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-09-12 04:28:40 +0000
committerPeter Palfrader <peter@palfrader.org>2002-09-12 04:28:40 +0000
commit9de7479d3f4cbe0be0a7aa9cbe38623aa03d6269 (patch)
treee6cce7be8cf798f316c7edc21135b94698068642 /tools/install-perl-modules
parentd1b1f4190ac0f55eeb08e0f676acb4d717996a06 (diff)
Have install-perl-modules tool
Diffstat (limited to 'tools/install-perl-modules')
-rwxr-xr-xtools/install-perl-modules12
1 files changed, 12 insertions, 0 deletions
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();
+};