Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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";

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 musing on the Monastery: (7)
As of 2016-06-29 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (385 votes). Check out past polls.