On Wed, 13 Jun 2001, Pate Mark-marpate1 wrote:

> I'm very new to perl (a week or so), so this may not be the best way to do
> this, but....
>
> for ($i=0; $i<10; $i++) {printf "%d\r",$i;}

Just to point out a more Perlish way to do this, rather the C-ish way
(since we're doing Perl and not C):

print "$_\r" for (0..9);

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
If you have to think twice about it, you're wrong.

Reply via email to