From 6e1436516e31808af66271ead78c73620b8a214f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 27 Aug 2009 08:24:05 +0200 Subject: Use foreach instead of for with useless $j counter --- bin/efa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/efa b/bin/efa index a5de982..bbb0106 100755 --- a/bin/efa +++ b/bin/efa @@ -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"; -- cgit v1.2.3