diff options
-rw-r--r-- | perl-install/modules.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index b458f706a..9ccd94fb1 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -421,12 +421,7 @@ sub load_raw { } sub get_parameters { - my %conf; - foreach (split(' ', get_options($_[0]))) { - /(.*)=(.*)/; - $conf{$1} = $2; - }; - %conf; + map { if_(/(.*)=(.*)/, $1 => $2) } split(' ', get_options($_[0])); } |