I've seen a Damian Conway presentation where he faked out this
behavior by prefixing all output with enough backspace ("\h")
characters to wipe out the previous output and display a new line.


I guess you mean \b, not \h :-)

That must've been it then :)

That does work for me under Win2k.

Does the \r solution work on winders (I don't have any Winders computers) also?


perl -e '$|=1; print "\rLine $_" and sleep 1 for 1..3; print "\n"'

Jenda

Thanks Jenda!

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to