in reply to This code is just freaky...
Of course the biggest difference being the use of the actual eof() function.while (<>) { print if /pattern/ .. eof; }
The only other thing I can see here is the possiblity of looking for a range of patterns using the .. operator which in all honesty seems more likely than my above perception.
I'd actually like to use the flip-flop operator sometime. Anyone have any experience with it?
----------
- Jim
|
|---|