Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: overwritting print in same line

by tweetiepooh (Hermit)
on Nov 14, 2011 at 16:35 UTC ( #937982=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $|=1;
    
    ...
        print ".";
        [do other stuff]
    [end loop]
    
  2. or download this
    $|=1;
    $counter=0;
    ...
         print "." unless $count++ % n;
         [do other stuff]
    [end loop]
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-10-02 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (9 votes). Check out past polls.

    Notices?