for my $cnt (0 .. 3) { print scalar(<DATA>); } [download]
In reply to Re^3: Hmmm: while(), file handle and $_ gotcha by ikegami in thread Hmmm: while(), file handle and $_ gotcha by roboticus