Tim Johnson wrote:
That doesn't work on my WinXP, but this does...
perl -e "$|=1; print \"\rLine $_\" and sleep 1 for 1..3; print \"\n\""
Its because you used double quotes instead of single quotes to surround the expression and need to escape the internal ones :)
Try this (paste it exactly as is ;p) perl -e '$|=1; print "\rLine $_" and sleep 1 for 1..3; print "\n"'
I bet it will work :)
Lee.M - JupiterHost.Net
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>