We don't bite newbies here... much | |
PerlMonks |
Re: Need a better way to count input linesby japhy (Canon) |
on May 07, 2004 at 14:51 UTC ( [id://351472]=note: print w/replies, xml ) | Need Help?? |
You could do:
You need the scalar there, because you only want to get one line at a time.
In Section
Seekers of Perl Wisdom
|
|