The "HELLO" won't be flushed to the file until you write more or close the file handle. You might want to do:
or{ my $old= select(OUT); $|= 1; select($old); }
so that you program hanging on accept() doesn't fool you, for example. - tye (but my friends call me "Tye")use IO::Handle; ... OUT->autoflush(1);
In reply to (tye)Re: File Handle wierdness
by tye
in thread File Handle wierdness
by the_slycer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |