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

Re: Dynamically overwriting a line of text on stdout console

by beable (Friar)
on Jul 22, 2004 at 23:44 UTC ( [id://376756]=note: print w/replies, xml ) Need Help??


in reply to Dynamically overwriting a line of text on stdout console

You might want to look at the good old Curses module, which will give you complete control over the output. Here's a simple example:
#!/usr/bin/perl use strict; use warnings; use Curses; initscr; addstr(10, 15, "mystuff"); refresh; sleep 3; addstr(10, 15, "OVERWRITE"); refresh; sleep 3; endwin; __END__

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-25 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found