Michael C. Toren on 4 May 2004 04:49:02 -0000 |
On Mon, May 03, 2004 at 09:29:20PM -0700, Marc Zucchelli wrote: > Is there a way to grab a more accurate time, then the time function > provides? Perhaps providing milliseconds? Also, is there a way to > "sleep" for a unit less than a second? Thank you! The Time::HiRes module on CPAN should be able to assist you with both problems. Alternatively, to sleep for less than one second you can use the select() function; see "perldoc -f select". -mct ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|