in reply to Re: once again: program output and return code
in thread once again: program output and return code
If particle already knew what that last expression should be, to get the value he wants, using eval wouldn't gain him anything.$x = 1; $y = 2; $return1 = $x + $y; $return2 = eval { $x = 1; $y = 2; $x + $y }
I know how to get STDIN and STDOUT, or STDIN and the exit value, but I can't figure out how to get STDOUT, STDERR, and the exit value. :(
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: once again: program output and return code
by particle (Vicar) on Jun 07, 2001 at 22:03 UTC |