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

What is the way to get epoch microseconds without floating point?

Replies are listed 'Best First'.
Re: epoch microseconds
by zwon (Abbot) on May 29, 2010 at 07:48 UTC

    Use Time::HiRes.

    use strict; use warnings; use Time::HiRes qw(gettimeofday); my ($seconds, $microseconds) = gettimeofday;