[Nottingham] Perl time difference in milliseconds

Michael Erskine msemtd at yahoo.co.uk
Fri May 12 07:56:26 BST 2006


On Thursday 11 May 2006 18:36, Phil Court wrote:
> Hi,
> Does any one know how to compute time differences in perl ?
>  
> I.e.
> Start time = 21:51:11.576
> end   time = 21:52:09:123

Surely you mean "e.g." (meaning "for example") rather than "i.e." (meaning 
"that is") otherwise the answer is always 1:57.547 :)

If you meant "e.g." then Time::HiRes is your module-de-jour.

BTW: please don't post in HTML

Regards,
Michael Erskine

-- 
The fancy is indeed no other than a mode of memory emancipated from the order
of space and time.  -- Samuel Taylor Coleridge
Send instant messages to your online friends http://uk.messenger.yahoo.com 




More information about the Nottingham mailing list