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

Re: Spinning progress bar.

by robsv (Curate)
on Jan 19, 2001 at 00:31 UTC ( #52830=note: print w/ replies, xml ) Need Help??


in reply to Spinning progress bar.

Cool! PHB will love it! This is just a different take on it using an array...

sub jitter { my @symbol = qw(| / - \\); my $delay = rand 200; for (1..400) { print $symbol[$_%4]; for (1..$delay) {} print "\x08"; } } sub flimflam { for (1..50) { jitter(); print "."; } } $| = 1; &flimflam; print "\n";


Comment on Re: Spinning progress bar.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-07-29 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls