summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/modules.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index e143ee5e1..e131a4c48 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -172,6 +172,13 @@ sub remove_alias($) {
0;
}
+sub remove_module($) {
+ my ($name) = @_;
+ remove_alias($name);
+ delete $conf{$name};
+ 0;
+}
+
sub read_conf {
my ($file) = @_;
my %c;