in reply to
Number Line while reading by chunks
$.
always
counts the number of chunks read. It's just that by default the chunks happen to be lines.
Comment on
Re: Number Line while reading by chunks
In Section
Seekers of Perl Wisdom