In a word 'buffering'.
Try putting $|++ near the top of your script and see what happens.
Or read Dominus's article Suffering From Buffering for a more detailed explaination.
Update: ChOas's select code works, my $|++ doesn't :(
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: Strange saving behaviour
by davorg
in thread Strange saving behaviour
by Mandor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |