Hi, I replaced qx{ ./test.pl -P @ARGV}; with exec(" ./test.pl -P @ARGV");
This works. I'm very new at this so excuse the question. Can "qx{}" be used to execute a command or script? It just looks like a way to quote a string to me. Angela Franck FASANO wrote: > > > > > Objet: Re: How to open STDOUT ? > > Date: Thu, 13 Jun 2002 21:34:16 -0700 > > De: "Todd Wade" <[EMAIL PROTECTED]> > > A: [EMAIL PROTECTED] > > > > "Franck Fasano" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hi, > > > > > > I have recuperated a module from the web and I interfaced > > > with it but STDOUT is closed . > > > If I do a : print STDOUT "hello\n" in my script, nothing appeared . > > > > > > I don't know where STDOUT is closed and how to re-open it ? > > > > > > > I would try to figure out why its closed first. > > > > say: > > > > print STDOUT "hello\n" or die("Print failed: $!"); > > > > this will call die() if print() returns false, reporting the error. > > > > Todd W > > > > There is no error reporting by print but I succeed to find in what > case it doen't work : > > Let's see the 2 scripts test.pl and test2.pl : > > If you execute "test.pl" it works and print correctly. > > If you execute "test2.pl" which executes test.pl, it doesn't work . > > Why? I don't know ? ... > -- ---------------------------------------------------- Angela Fisher [EMAIL PROTECTED] Agfa Corporation 46 River Rd. Phone: 603.889.3653 x3021 Hudson, NH 03051 Fax: 603.886.0597 In Unix Land, on a quiet night you can hear the Windows machines reboot. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]