The problem is that tim records the value in v$timer. Here is the man page that this was taken from:

V$TIMER

This view lists the elapsed time in hundredths of seconds. Time is measured since the beginning of the epoch, which is operating system specific, and wraps around to 0 again whenever the value overflows four bytes (roughly 497 days).

cheers

tachyon


In reply to Re^3: converting Time::HiRes by tachyon
in thread converting Time::HiRes by Lhamo Latso

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":