I hope you enjoy using this little snippet as much as I enjoyed writing it!
#!/usr/bin/perl use strict; use warnings; my $reps = 100; my $delay = 100; # in milliseconds $delay/=1000; my @star = qw(| / - \\); for(1..$reps) { for(@star) { print "\r$_"; select(undef, undef, undef, $delay); } }
In reply to Stupid console tricks (rotating star)
by Mr. Muskrat
in thread Stupid console tricks (or color highlighted tail)
by icius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |