Folks,

I have been reading up on the Benchmark.pm, I thought it was possible to
time
a sub routine with timeit as such

$gt = timeit( 1 , &some_sub );

but I am getting errors in the Benchmark.pm

Use of uninitialized value at /usr/local/lib/perl5/5.00503/Benchmark.pm line
312.
bad time value () at /usr/local/lib/perl5/5.00503/Benchmark.pm line 313.
Can't call method "cpu_p" on an undefined value at
/usr/local/lib/perl5/5.00503/Benchmark.pm line 315.

Regards,
Ron

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to