summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index b11d87aa3..5892fca1b 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -471,6 +471,11 @@ sub get_options {
$conf{$name}{options};
}
+sub set_options {
+ my ($name, $new_option) = @_;
+ $conf{$name}{options} = $new_option;
+}
+
sub add_alias {
my ($alias, $name) = @_;
$name =~ /ignore/ and return;