Jun 1, 2012, 8:15 AM
Post #2 of 5
Your approach is not bad. I could suggest several others, but each would be a trade-off among several issues.
Re: [gerble1000] is there a better way than grep ?
[In reply to]
Conforming to coding standards
Time required to write and test the perl code.
Ease in making possible future changes.
Time that file is open.
Use of an explicit function (e.g. any in List::MoreUtils)