line number

2001-09-07 Thread Roland Schoenbaechler
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)? Thanks for your help Roland *** PLEASE NOTE *

Redirection of STDERR

2001-07-17 Thread Roland Schoenbaechler
Hello In a sub of my script I redirected STDERR in a file. How can I redirect the STDERR back to the default (screen) for the following subs? Thanks a lot for your help Roland *** PLEASE NOTE *** This message, along with any attachments, may be confidential

How can I set return codes for a perl-script?

2001-06-27 Thread Roland Schoenbaechler
I want a perl-script to be startet by another application. Is there a possibility to send a return code from the perl-script to the application saying whether the perl-script was running properly? Is this working for Unix and NT? Thanks a lot Roland *** PLEASE NOTE