On 2007-08-25 10:41:44 -0400, Guy Hulbert wrote: > On Sat, 2007-08-25 at 10:15 -0400, Matt Sergeant wrote: > > On 24-Aug-07, at 6:40 PM, David Sparks wrote: > > > > Yeah, we use HiRes::time() . ".$$" and we don't get any file stomping > > (and we're doing millions of emails/day). > > Could you clarify? There is no HiRes module in CPAN. Here's what I > see: > > DateTime::HiRes > Rose::DB::Object::Metadata::Column::Epoch::HiRes > Time::HiRes > Time::HiRes::Value > > I've been using Time::HiRes, which does not have a time() call but ships > in the debian perl-modules package.
It has. If you use it like this:
use Time::HiRes qw(time);
it will replace time with a function which returns the timestamp as a
floating point number. I use that all the time for benchmarking.
(Hmm, I see that it is missing from the synopsis but documented in the
text of the POD)
hp
--
_ | Peter J. Holzer | I know I'd be respectful of a pirate
|_|_) | Sysadmin WSR | with an emu on his shoulder.
| | | [EMAIL PROTECTED] |
__/ | http://www.hjp.at/ | -- Sam in "Freefall"
signature.asc
Description: Digital signature
