diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-08-27 08:24:05 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-08-27 08:24:05 +0200 |
commit | 6e1436516e31808af66271ead78c73620b8a214f (patch) | |
tree | 1c3b2321f8514203ebd88c0fcec59ae08685dfdc /bin/efa | |
parent | 64819cc7bf76cf772896238684cdaeb0e546c436 (diff) |
Use foreach instead of for with useless $j counter
Diffstat (limited to 'bin/efa')
-rwxr-xr-x | bin/efa | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -291,7 +291,7 @@ if ($debug) { $cons = parse_content($raw); for (my $i = 0; my $con = $cons->[$i]; $i++) { - for (my $j = 0; my $part = $con->[$j]; $j++) { + foreach my $part (@{$con}) { foreach (@{$part->{extra}}) { unless ($ignore_info and $_ =~ /$ignore_info/i) { print "# $_\n"; |