in reply to Re^4: Time modules
in thread Time modules

Neither. It means number of points completed so far. So assuming you are updating your progress bar after each 10 files and you had 50 files total, you'd set min=0, max=50 and each successive call would be something like this:
print $timer->report( "%45b %p\r", 10 ); #10 out of 50 files print $timer->report( "%45b %p\r", 20 ); #20 out of 50 files print $timer->report( "%45b %p\r", 30 ); #30 out of 50 files

Best, beth

Replies are listed 'Best First'.
Re^6: Time modules
by mikejones (Scribe) on Feb 25, 2009 at 15:36 UTC
    Hi Beth, So you are saying I should make this print timer call three times in my loop? My max is number of files which of course varies from filesystem to filesystem. thank you