You could also do it manually(without the module).
<code>
$line_count=-1;
while(<>)
{ $line_count++; }
print "There are $line_count lines in the file.";
# To change the line number for the current filehandle
# set the '$.' var to desired # not to exceed $line_count
<code>
In reply to RE: Re: Is there a way to read a file backwards?
by Anonymous Monk
in thread Is there a way to read a file backwards?
by gaggio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |