in reply to RE: My favorite looping mechanism in Perl is:
in thread My favorite looping mechanism in Perl is:

AHA! But you CAN! One of my 1st posts (back in December) was exactly on this topic. The only reason why its not good to do a
foreach (<FILE>) { }
is because the whole FH gets thrown into memory before the iterations (or so I've been told). But, yeah, practically it wouldn't be that good...