in reply to Re: In search of a bug in Time::HiRes on Windows.
in thread In search of a bug in Time::HiRes on Windows.

That's strange? The snippet I posted should only produce unique values, not duplicates.

Did you modify it to produce these results?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.
  • Comment on Re^2: In search of a bug in Time::HiRes on Windows.

Replies are listed 'Best First'.
Re^3: In search of a bug in Time::HiRes on Windows.
by kiat (Vicar) on Jun 15, 2005 at 03:36 UTC
    No, I ran your code as-is. Here's more:

    perl time_bug.pl > time_bug.txt 1.65 1118806411.5004 1118806411.50041 1118806411.50041 1118806411.50042 1118806411.50043 1118806411.50043 1118806411.50044 1118806411.50044 1118806411.50045 1118806411.50045
    Update:

    When I ran (output to the screen)

    perl time_bug.pl
    i.e. without "> time_bug.txt", there're no duplicates.