On Wed, Oct 16, 2002 at 10:15:12AM -0700, vishal mittal wrote:
> my $child = new IO::Handle;
>
> When I try to redirect this handle to a filehandle
> using
>
> open(MY_DESCRIPTOR, ">&$child");
$child is already a filehandle, you shouldn't need to redirect it to
another. What is it you're tryin
Vishal Mittal wrote:
> Hi,
>
> I have something like this
>
> my $child = new IO::Handle;
>
> When I try to redirect this handle to a filehandle
> using
>
> open(MY_DESCRIPTOR, ">&$child");
>
> it gives me an error. What is it that I am doing wrong
> ??
try this instead:
$child = new IO::Ha
Vishal Mittal wrote:
>
> Hi,
Hello,
> I have something like this
>
> my $child = new IO::Handle;
>
> When I try to redirect this handle to a filehandle
> using
>
> open(MY_DESCRIPTOR, ">&$child");
">&" means to duplicate an existing file handle.
> it gives me an error. What is it that I a