Hey guys, quick question..
I'm trying to make a little progress indicator like [23/1000] or something like that.
What I figured I could do is go through the loop and at the end of the loop:
print "\r [$myPart/$myTotal]";
However it only seems to print the very last one.
So I tried:
print "[$myPart/$myTotal]\n";
that works, however it prints the updated line on the next line of course.. soooo... is there a way to force print to update the line without going to the next line?
Thanks very much as always!
I'm trying to make a little progress indicator like [23/1000] or something like that.
What I figured I could do is go through the loop and at the end of the loop:
print "\r [$myPart/$myTotal]";
However it only seems to print the very last one.
So I tried:
print "[$myPart/$myTotal]\n";
that works, however it prints the updated line on the next line of course.. soooo... is there a way to force print to update the line without going to the next line?
Thanks very much as always!