On Sat, 2007-08-25 at 17:00 +0200, Peter J. Holzer wrote:
> > 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

Ah ... that's a useful trick ...

> floating point number. I use that all the time for benchmarking.

I just cut-and-paste the code from the synopsis ;-)

> 
> (Hmm, I see that it is missing from the synopsis but documented in the
> text of the POD)

Yup.  After Matt replied, I read through the POD ... 

thanks Peter.

-- 
--gh


Reply via email to