in reply to Lowering my STDards :)

Yes, $|=1 will autoflush STDOUT on every write. localising within a block is the more common Perl idiom rather than using $|=1; print "..."; $|=0:

{ local $| = 1; print "hi"; }

See perlvar for more on $|.