archen has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl my $spinner; my @spinState = ("-", "\\", "|", "/"); foreach(1..25) { print "Working: " . $spinState[$spinner] . "\n"; print " \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"; sleep(1); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: making a spinner
by blakem (Monsignor) on Sep 20, 2001 at 22:40 UTC | |
Re: making a spinner
by shotgunefx (Parson) on Sep 20, 2001 at 22:29 UTC | |
Re: making a spinner
by phubuh (Beadle) on Sep 20, 2001 at 22:54 UTC | |
Re: making a spinner
by archen (Pilgrim) on Sep 20, 2001 at 23:17 UTC | |
by boo_radley (Parson) on Sep 20, 2001 at 23:31 UTC | |
Re: making a spinner
by perlisfun (Sexton) on Sep 21, 2001 at 01:05 UTC | |
Re: making a spinner
by demerphq (Chancellor) on Sep 22, 2001 at 20:44 UTC | |
Re: making a spinner
by grummerX (Pilgrim) on Sep 21, 2001 at 17:58 UTC | |
Re: making a spinner
by snafu (Chaplain) on Sep 21, 2001 at 17:45 UTC |