on Thu, 11 Jul 2002 11:26:05 GMT, Octavian Rasnita wrote: > I want to calculate how much time a Perl script runs. > Can you tell me how to calculate using fractions of a second? > > The script may run in less than a second, but Perl always tell me 1 > second, or 2 seconds, etc.
Use the Time::HiRes module. See
<http://search.cpan.org/search?dist=Time-HiRes>
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
