On Sep 7, Roland Schoenbaechler said:
>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 caller() function also gives you this information, if you want.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]