> -----Original Message----- > >there a variable containing the actual > > source-line number during execution? > > > > Yes, the $.
This is incorrect, $. actually contains the 'current line number' from the last accessed file handle. It will be undef if no filehandles have been accessed. The __LINE__ constant contains the current line number (IE: it will return the line that __LINE__ is called from) from the source file. Hope that helps. Regards, Matt -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>