see perldoc perlvar
$. # has the current line number of the last FILEHANDLE opened.
> -Original Message-
> From: Steve [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 26, 2002 9:18 AM
> To: [EMAIL PROTECTED]
> Subject: Getting a line number from a file.
>
>
> Is there a way to,
Check out the documentation on the $. variable. It does what you want.
-Original Message-
From: Steve [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 6:18 AM
To: [EMAIL PROTECTED]
Subject: Getting a line number from a file.
Is there a way to, as a file is read to print t