From 313e33f333591b2502cba4ae770adb4488d3d78a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 6 Nov 2003 17:26:11 +0000 Subject: "let please pixel" changes --- perl-install/modules.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/modules.pm') diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 21a54070a..0f800b793 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -178,7 +178,7 @@ sub remove_alias($) { sub remove_alias_regexp($) { my ($name) = @_; foreach (keys %conf) { - $conf{$_}{alias} && $_ =~ qr/$name/ or next; + $conf{$_}{alias} && $_ =~ /$name/ or next; delete $conf{$_}{alias}; return 1; } @@ -267,7 +267,7 @@ sub write_conf { my $v = join(' ', uniq(deref($conf{$alias}{$type}))); $_ = "$type $alias $v\n"; } elsif ($type eq 'alias' && !defined $conf{$alias}{alias}) { - undef $_; + $_ = ''; } } $file; -- cgit v1.2.1