Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: updating stdout

by klekker (Pilgrim)
on Feb 17, 2007 at 18:59 UTC ( [id://600621]=note: print w/replies, xml ) Need Help??


in reply to Re: updating stdout
in thread updating stdout

Yes, dont't forget the flushing! :)

But if you want to avoid extra blanks, I recommend printf and perhaps to "cut" your output. Like
printf( "%-60s\r", substr $line, -60 );

k

Log In?
Username:
Password:

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

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

    No recent polls found