--- Andreas Puerzer <[EMAIL PROTECTED]> wrote:
> Derek B. Smith schrieb:
>
> > -- Andreas Puerzer <[EMAIL PROTECTED]> wrote:
> >
>
> [snipped for brevity]
>
> >>
> >>So, to the OP, if you want to take input from
> your
> >>program when run
> >>inside Eclipse, you will need to fiddle with $|,
> due
> >>to that
> >>extra-buffering-layer. If you run it outside
> >>Eclipse, there shouldn't be
> >>a need to do so.
> >
> >
> > Please review the online document for a clear
> > explanation of $|.
> >
> > http://perl.plover.com/FAQs/Buffering.html
> >
>
> Ok, done so. Now I understand about
> line-buffering-mode (what I didn't
> before, but, as I also said, I hadn't investigated
> further), thank you.
> I still think that the only way to cope with this is
> to set $| to a true
> value, or do you have another idea?
>
> Kind Greetings,
>
> Andreas Puerzer
>
Not really, but if you want you could create a
subroutine that contains:
and call it whenver you need to.
sub HFH {
local $ofh = select LOG;
$| = 1;
select $ofh;
}
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>