the INTERNAL ERROR doesn't come from ::Child either but the error handler
can be set by the caller so my guess is his code generates that.  beyond
that, I'm not sure why there's an error at all...

-----Original Message-----
From: Rocco Caputo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 6:58 AM
To: poe@perl.org
Subject: Re: INTERNAL ERROR

When POE::Wheel::Run unties STDOUT and STDERR for you in the child  
process, it also warns that it's doing so.  Something is labeling  
these warnings as "INTERNAL ERROR", but it's not POE.  Perhaps it's  
POE::Component::Child?

The code is:

     # Stdio should not be tied.  Resolves rt.cpan.org ticket 1648.
     if (tied *STDOUT) {
       carp "Cannot redirect into tied STDOUT.  Untying it";
       untie *STDOUT;
     }
     if (tied *STDERR) {
       carp "Cannot redirect into tied STDERR.  Untying it";
       untie *STDERR;
     }

-- 
Rocco Caputo - [EMAIL PROTECTED]


On May 3, 2006, at 08:22, Sagar A Chaitanya Reddy wrote:

> Hi All,
>
>       I am new to POE.I got a problem when i run the POE script.It  
> is showing this message and then doing the things.
>       I am just running the bsub jobs by creating different childs  
> using POE::COMPONENT::CHILD.
>       Though it is showing error,it is giving the final results  
> properly.I couldnot understand the reason for this.
>        If you have any idea please help me in this regard.The eror  
> message is like this.
>
>    INTERNAL ERROR >> Cannot redirect into tied STDERR.  Untying it  
> at /apps/perl/modules-TII/lib/POE/POE/Component/Child.pm line 181
>   INTERNAL ERROR >> Cannot redirect into tied STDERR.  Untying it  
> at /apps/perl/modules-TII/lib/POE/POE/Component/Child.pm line 181
>
> Thank you
>
> Regards
> Sagar

Reply via email to