in reply to making a spinner
Cool! Two uses for Tie::Cycle* in one day!
:-)use Tie::Cycle; my $delay=5; tie my $spinner, 'Tie::Cycle', [map {("\b$_")x$delay}qw(\ | / -)]; print $spinner while (1);
Yves
--
You are not ready to use symrefs unless you already know why they are bad. -- tadmc (CLPM)
* and no I didn't write it... :-)
In Section
Seekers of Perl Wisdom