Hi List.
Is there a way to determine the number of lines in a file without actually
iterating through the file and incrementing a file?
I found the following on perlmonks.org, it works great but this is command
line syntax
:
perl -lpe '}{*_=*.}{' file
How could I integrate this into a script without invoking another instance
of Perl?
Thanks !
~Jason
------------------------------------
"If, after the first twenty minutes, you don't know who the sucker at the
table is, it's you."
------------------------------------