Hello everyone,

I have a while loop that loops through a text file for quite a while (10
min or so).  Is there any way to print a status-type message while it's
looping through?
I did something like this now:

my $i=0;
while ($i le "10000000") {
        print "Processing\r";
}

And that works, but if I run the script like this:
./script.pl > test.txt

I get a BUNCH of "Processing" lines in test.txt.  Is there any other way I
can do this?

Thanks,

Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to