Just a thought, but this behavior might be caused by Perl buffering your
output.  

Try selecting your file handle and then setting $| to 1.  That way Perl
should send your output immediately.




-----Original Message-----
From: Bryan R Harris [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 24, 2005 1:51 PM
To: Beginners Perl
Subject: Re: two way piped open



And a follow-on question:

Any idea why I have to send the yprtool two "\n"s instead of one to make
it
work?  With just one it hangs...  On the command line, it definitely
works
with just one.

<snip>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to