On 01/10/2007 04:20 PM, Guerrero, Citlali (GE, Corporate, consultant) wrote:
Hi all :

Does anyone knows how to catch the error standard from a call to system? I mean something like this:

use strict;
use warnings;

pritn "Calling the second script : \n";

system("perl hi_all.pl")

exit;

if the hi_all.pl script prints something to the STDERR it of course print it, but I want to save it on a local variable, does anyone knows how do that?


Cheers



Start->Run->"perldoc IPC::Open3"




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to