![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: what's this loo code? (*slurp*)by Kanji (Parson) |
on Feb 04, 2003 at 18:51 UTC ( #232619=note: print w/replies, xml ) | Need Help?? |
I'm almost certain you can make that faster or shorter I can't imagine it making a significant dent in speed for small(er) files, but -l (sh|c)ould be omitted. Perhaps... perl -ne 'END{ print $., $/ }' file ...or...
--k.
In Section
Seekers of Perl Wisdom
|
|