Commit b757c130 authored by Annamalai Gurusami's avatar Annamalai Gurusami

In perl, to break out of a foreach loop we need to use

the keyword "last" and not "break".  Fixing the failing
test case. 
parent 95205bba
...@@ -33,7 +33,7 @@ foreach $line (reverse @lines) { ...@@ -33,7 +33,7 @@ foreach $line (reverse @lines) {
++$count; ++$count;
print "$line"; print "$line";
if ($count == 2) { if ($count == 2) {
break; last;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment