in reply to Printing without a newline?

You are Suffering from Buffering. You need to make your output filehandle hot, by disabling buffering. You do this by adding local $| = 1; before you print.

$| is documented in perlvar.


Dave

Replies are listed 'Best First'.
Re^2: Printing without a newline?
by system("clear"); (Initiate) on Apr 19, 2014 at 16:28 UTC
    Thanks! it works :)