diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-06 16:47:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-06 16:47:00 +0000 |
commit | 3021e910718c4702abe831c7aa53e8a7bf8b135f (patch) | |
tree | e342014ee05783e78a37b18970bd6168610c30f8 /perl-install/pkgs.pm | |
parent | 371749c6a25c7aec0874e21d68ec212b2bf2dab7 (diff) | |
download | drakx-3021e910718c4702abe831c7aa53e8a7bf8b135f.tar drakx-3021e910718c4702abe831c7aa53e8a7bf8b135f.tar.gz drakx-3021e910718c4702abe831c7aa53e8a7bf8b135f.tar.bz2 drakx-3021e910718c4702abe831c7aa53e8a7bf8b135f.tar.xz drakx-3021e910718c4702abe831c7aa53e8a7bf8b135f.zip |
please perl_checker:
- local'ize $_ before doing while (<...>)
- use "foreach" instead of "for"
- remove unneeded parentheses on the right side of infix if/foreach/unless
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r-- | perl-install/pkgs.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index ff7f7506f..0dfc07b6f 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -451,6 +451,7 @@ sub read_rpmsrate { my $line_nb = 0; my $fatal_error; my (@l); + local $_; while (<$f>) { $line_nb++; /\t/ and die "tabulations not allowed at line $line_nb\n"; |