Sun751 has asked for the wisdom of the Perl Monks concerning the following question:
But if I do this, this will redirect the output I want to generate too,perl test.pl >/dev/null
And I want this outputopen(EMAIL, "| $cmd")|| exe_err($cmd,'0','Email script');
Any suggestion? Cheers,print "Please Check Log: 'log.log' file\n"; exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: redirect output
by ELISHEVA (Prior) on Jul 17, 2009 at 07:11 UTC | |
|
Re: redirect output
by moritz (Cardinal) on Jul 17, 2009 at 07:01 UTC | |
|
Re: redirect output
by llancet (Friar) on Jul 17, 2009 at 08:47 UTC | |
|
Re: redirect output
by Bloodnok (Vicar) on Jul 17, 2009 at 11:31 UTC | |
|
Re: redirect output
by ig (Vicar) on Jul 18, 2009 at 16:39 UTC |