----- Original Message ----- From: "Harry Putnam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 28, 2003 2:20 AM Subject: make CPAN::Shell->i; print to a filehandle
> How do I go about making the output from > CPAN::Shell->i; go into a file handle > Instead of STDOUT like it does in this formulation: > > $target = "somefile"; > if($opt_r){ > open(FH,">$target") or die "Cannot open $target: $!"; > print FH CPAN::Shell->i; you can try IPC::Open2. Mark g > } > } > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]