diff options
-rw-r--r-- | perl-install/pkgs.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index a9af7f72d..e2365d45a 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -336,8 +336,7 @@ sub psUpdateHdlistsDeps { #- parse hdlist.list file. my $medium = 1; - local $_; - while (<$listf>) { + foreach (<$listf>) { chomp; s/\s*#.*$//; /^\s*$/ and next; |