use strict; use warnings; use Time::HiRes qw(sleep); my @sparkle = qw(| / - \ ); $| = 1; system "cls"; print "This is a sparkle:\n"; print "\r", $sparkle[$_%4] and sleep 0.5 for (0..99);
In reply to Re: Creating a Sparkle in perl
by renodino
in thread Creating a Sparkle in perl
by gj2666
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |