in reply to Re^2: Stumped UPDATED!?!?!
in thread Stumped UPDATED!?!?!

$| = 1; # auto flush stdout

Why?

Replies are listed 'Best First'.
Re^4: Stumped UPDATED!?!?!
by ysth (Canon) on Feb 11, 2008 at 08:59 UTC

      I completely missed that. You're right.

Re^4: Stumped UPDATED!?!?!
by Thelonius (Priest) on Feb 11, 2008 at 08:34 UTC
    When I ran this without that, I didn't see the prompt or any of the output. I was running ActivePerl 5.8.8 in an rxvt window. If I run cygwin perl, I don't need the $|=1, or if I run either perl in a DOS box, I don't need it. Dunno why.