[crush-tools] r531 committed - Bug fix in src/perllib/utils.pl: scope a loop variable which was causi...

1 view
Skip to first unread message

crush...@googlecode.com

unread,
Apr 3, 2013, 1:17:34 PM4/3/13
to crush...@googlegroups.com
Revision: 531
Author: jeremy...@gmail.com
Date: Wed Apr 3 10:17:29 2013
Log: Bug fix in src/perllib/utils.pl: scope a loop variable which was
causing errors with "use strict".

http://code.google.com/p/crush-tools/source/detail?r=531

Modified:
/trunk/src/perllib/utils.pl

=======================================
--- /trunk/src/perllib/utils.pl Wed Feb 13 14:09:58 2013
+++ /trunk/src/perllib/utils.pl Wed Apr 3 10:17:29 2013
@@ -88,7 +88,7 @@
}
}
if ($adjust) {
- foreach $i (0 .. $#idxs) {
+ foreach my $i (0 .. $#idxs) {
$idxs[$i] += $adjust;
}
}
Reply all
Reply to author
Forward
0 new messages