diff options
author | Francois Pons <fpons@mandriva.com> | 2000-11-14 15:31:59 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-11-14 15:31:59 +0000 |
commit | 949a885497d3d05e4dc0dc20e52ecb758d9b677c (patch) | |
tree | 0e7a20d9c3694bc4c392ea420607b7cbacdf3814 /perl-install/modparm.pm | |
parent | 01975efac2cb7e05fbe05ec3733ae904669a1e94 (diff) | |
download | drakx-949a885497d3d05e4dc0dc20e52ecb758d9b677c.tar drakx-949a885497d3d05e4dc0dc20e52ecb758d9b677c.tar.gz drakx-949a885497d3d05e4dc0dc20e52ecb758d9b677c.tar.bz2 drakx-949a885497d3d05e4dc0dc20e52ecb758d9b677c.tar.xz drakx-949a885497d3d05e4dc0dc20e52ecb758d9b677c.zip |
removed foreach (<... which are eating memory
Diffstat (limited to 'perl-install/modparm.pm')
-rw-r--r-- | perl-install/modparm.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/modparm.pm b/perl-install/modparm.pm index b4dd71c13..b6aee8905 100644 --- a/perl-install/modparm.pm +++ b/perl-install/modparm.pm @@ -19,9 +19,9 @@ sub read_modparm_file { my @line; my %modparm_hash; - local *F; - open F, $file or log::l("missing $file: $!"), return; - foreach (<F>) { + local *F; open F, $file or log::l("missing $file: $!"), return; + local $_; + while (<F>) { chomp; @line = split ':'; |