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, as a file is read to print the line number > you are on? > > > > ----- > > The three most dangerous things are a programmer with a > soldering iron, a > manager who codes, and a user who gets ideas. > > ---- > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]