At 02:58 PM 9/7/01 +0200, you wrote:
>In some cases I want to write the line-number of the script to STDERR (In
>analogy to the functions die or next). Does a variable exist indicating the
>line number of the currently executed step (or the last step)?

The current line is __LINE__. It's in the file __FILE__, and package 
__PACKAGE__, in case you need to know these as well.

-- 
Robert Bunn
JAPN

____________________________________________________________
This messsage was sent using the trial version of the 
1st Class Mail Server software.

The 1st Class Mail Server 3.0 has lots of cool new features.
Best of all, it's still free! To download the latest version,
go to http://www.1cis.com/download/1cismail.asp

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

Reply via email to