summaryrefslogtreecommitdiff
path: root/tools/install-perl-modules
diff options
context:
space:
mode:
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();
+};