P is for Practical | |
PerlMonks |
Re^2: grep and find file weirdnessby blazar (Canon) |
on Jun 20, 2007 at 19:45 UTC ( [id://622376]=note: print w/replies, xml ) | Need Help?? |
I think reading in the whole file is probably better for whatever you want, on a modern system I don't think so. It may not do a big difference, on a modern system. But under certain circumstances it may even there. After all he wants to quit searching as soon as /\r\n/ matches: what benefit would he have going on instead?
In Section
Seekers of Perl Wisdom
|
|