in reply to Re: simple print question
in thread simple print question

Yeah, what b10m said.

Under normal circumstances, Perl will 'buffer' STDOUT by 'saving' writes to it until there is a whole line, and then write that line in one swoop. It does this to improve performace, but, as you are finding out, it's not what you always want.

Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"