there is a special var $. that hold the current record number

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 9:30 AM
> To: [EMAIL PROTECTED]
> Subject: Line in file
> 
> 
> Hi,
> I there a way to tell the number of the line in a file?  
> 
> while (<INFILE>){
> print "I am reading line ____";
> }
> 
> Anway to tell without using some counting code?
> 
> Thanks...
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to