but I bet people will comment on that if you start promoting that style on Perlmonks.my @lines = <$file_handle>; for my $line (@lines) { ... }
I find iterators bind to the data they act on far more natural than being binded to the location in the source code. It translates to an OO approach much more naturally.
In reply to Re^6: Spot the bug
by Perl Mouse
in thread Spot the bug
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |