Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How to UPDATE rather than append to STDOUT?

by Dog and Pony (Priest)
on Jun 05, 2002 at 09:50 UTC ( [id://171777]=note: print w/replies, xml ) Need Help??


in reply to How to UPDATE rather than append to STDOUT?

As some people have said, \b works for this, but so does \r:
> perl -e "for(1..10){print qq(\r$_.);select undef,undef,undef,0.5}"
Just thought I'd mention it. It depends on exactly what you want done, and if it is anything complex, have a look at suggested modules instead. :)
You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://171777]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found