RE: system() and STDOUT & STDERR

2001-10-25 Thread Gupta, Ashish
OTECTED]] > Sent: Thursday, October 25, 2001 9:50 PM > To: 'Gupta, Ashish'; '[EMAIL PROTECTED]' > Subject: RE: system() and STDOUT & STDERR > > > Are you sure b.pl is running correctly? You aren't checking the return > value > of system()

system() and STDOUT & STDERR

2001-10-24 Thread Gupta, Ashish
please help me solve another prob i am facing. i have 2 scripts --> a.pl and b.pl both scripts have a paramter called -logfile. if this is specified, the STDOUT and STDERR are redirected to this. now, I call b.pl from within a.pl using system(). the documentation for system() says that the ST

How to close ALL open file descriptors

2001-08-23 Thread Gupta, Ashish
I open lots of file descriptors in a script. At one point, I want to close all the opened file descriptors (except for stdin, stdout, stderr). Is there a way to close all the opened file descriptors without having a list of the handles ? ***

Initializing / Changing values of @INC

2001-06-13 Thread Gupta, Ashish
>From where is the value of @INC initialized by Perl ? Can I change the value of @INC from within my program or from the environment ? *** This communication is confidential and is intended only for the person to whom it is