|
|
| "be consistent" | |
| PerlMonks |
Re: search for a pattern in file without opening the fileby codeacrobat (Chaplain) |
| on Jan 30, 2007 at 07:18 UTC ( #597304=note: print w/ replies, xml ) | Need Help?? |
|
Let perl do the dirty work and use the implicit loop options -n ( see perlrun ). Check out Tim Mahers Minimal Perl if you are a unixy person and want perl scripts to work similar to unix tools.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||