Mark G <[EMAIL PROTECTED]> writes:
> ----- Original Message -----
> From: "Harry Putnam" <[EMAIL PROTECTED]>
> To: "Mark G" <[EMAIL PROTECTED]>
> Cc: "perl" <[EMAIL PROTECTED]>
> Sent: Sunday, June 29, 2003 4:37 PM
> Subject: Re: make CPAN::Shell->i; print to a filehandle
>
>
>> Mark G <[EMAIL PROTECTED]> writes:
>>
>> > Well I just tryed runing 'CPAN::Shell->i' from the shell, and it failed
> to
>> > launch it. Can you run 'CPAN::Shell->i' from your systems default shell
> ??
>> > you can try using ppm instead.
>>
>> Ahh I guess it doesn't know about `use CPAN' in the parent script.
>
> well you should of included that in your original post.
Not to put too fine a point on it but OP did clearly lay out the
desired result:
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;
}
}
Thanks for your time helping me get the syntax right.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]