![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: what's this loo code?by BrowserUk (Pope) |
on Feb 04, 2003 at 19:04 UTC ( #232622=note: print w/replies, xml ) | Need Help?? |
If you just want the line count (no slurping). perl -ne"}{die" file If you want the filenames too perl -ne"}{die$ARGV" * Examine what is said, not who speaks. The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
In Section
Seekers of Perl Wisdom
|
|