On Fri, 03 Aug 2007 00:30:15 +0300 Shmuel Fomberg <[EMAIL PROTECTED]> wrote:
> Hello There.
>
> This version behave a little better, (all the childs get their output)
> But the child print their answer only after the script end, and in
> reverse order. (child 3 print first) I can't figure why.
>
> Shmuel.
They aren't flushing, IMHO.
use IO::Handle;
$fh = $fh = $fh[0]{'fh'};
print "blah";
$fh->autoflush(1);
print $fh "blah blah";
#alternately, $fh->flush();
alternately, use syswrite.
--
Tal Kelrich
PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F CAE6 FEC1 9AAC 12B9 AA69
Key Available at: http://www.hasturkun.com/pub.txt
----
I WILL NOT XEROX MY BUTT
I WILL NOT XEROX MY BUTT
I WILL NOT XEROX MY BUTT
I WILL NOT XEROX MY BUTT
Bart Simpson on chalkboard in episode 7F01
----
signature.asc
Description: PGP signature
_______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
