in reply to Overwriting printed text
#!/usr/bin/perl use strict; use warnings; no warnings qw /syntax/; $| = 1; my @a = qw {| / - \ }; my $a; while (1) { print "\r", $a [$a ++ % @a]; select undef, undef, undef, 0.25; } __END__
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Overwriting printed text
by thegoaltender (Sexton) on Feb 06, 2004 at 20:56 UTC |