CColin has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I've installed Time::Format and dependent modules. Running the following example from the documentation:
print $time{'hh:mm:ss.uuuuuu'}
on my system returns negative millisecond values, as in
20:17:16.-405272
The documentation shows the above without a minus sign. Have searched for the problem with no success. Any clues appreciated.

Replies are listed 'Best First'.
Re: Returning negative milliseconds with Time::Format
by codeacrobat (Chaplain) on Mar 14, 2009 at 21:31 UTC
      Updated the line in my local module and seems to work fine. Thanks!
Re: Returning negative milliseconds with Time::Format
by CountZero (Bishop) on Mar 14, 2009 at 21:13 UTC
    I have the same problem, also with the microseconds. Looks like a bug.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James