It is a read, but in void context, it doesn't appear
to be using excessive memory ( I suppose since it's
not filling $_ or any other variable ).
I did try this on a fairly large file (with large "records"), and didn't notice
a significant growth in memory footprint compared to
a smaller file.
Did you have a different experience ?
Update: Tried it on a really large file, and
sure enough, it eats up VM :) Never mind...sounds like
asking the gods to map <HANDLE> in a void context into a scan
might be a good idea though...
| [reply] |