There's more than one way to do things | |
PerlMonks |
Re: Re: Time until eventby petral (Curate) |
on Sep 19, 2002 at 21:56 UTC ( [id://199316]=note: print w/replies, xml ) | Need Help?? |
  "I wonder if printing out backspaces isn't the most efficient way to erase the line."
Actually, "\r" serves that purpose, unless you are overprinting in mid-line.   But even then, simply reprinting the unchanging beginning of the line still seems simplest. eg, See this whirligig for a similar function.   p
In Section
Cool Uses for Perl
|
|