Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: A whirleygig for a progress indicator for scripts

by rob_au (Abbot)
on Dec 18, 2002 at 12:53 UTC ( #220831=note: print w/ replies, xml ) Need Help??


in reply to Re: A whirleygig for a progress indicator for scripts
in thread A whirleygig for a progress indicator for scripts

Using the Tie::Cycle module, this can be simplified further ...

use Tie::Cycle; tie my $whirley, 'Tie::Cycle', [ qw( . o 0 O 0 o ) ]; # And now for the demonstration ... ++$|; while (1) { print $whirley, "\b"; sleep 1; }

 

perl -le 'print+unpack("N",pack("B32","00000000000000000000001000000000"))'


Comment on Re: Re: A whirleygig for a progress indicator for scripts
Download Code
Re: Re: Re: A whirleygig for a progress indicator for scripts
by demerphq (Chancellor) on Dec 21, 2002 at 19:28 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-07-04 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls