>At 11:17 Uhr -0500 25.11.2001, Chris Nandor wrote: >>At 07:44 -0800 2001.11.25, Adam Russell wrote: >>>So, to be perfectly clear when someone reads an archived copy of this(>:), >>>there is no way to express the time in milliseconds in versions of Macperl >>>earlier than 5.6.1 ? >> >>There could be. Someone could build Time::HiRes for earlier versions. >>There's also TickCount() in Mac::Events, which is not milliseconds, but >>1/60 seconds, and is time since the system's startup; that may or may not >>be sufficient to your needs. There may be other ways, too. >> > >I've tried to build Time::HiRes for MacPerl 5.2.0r4 yesterday, but to no avail (both >Time::HiRes 1.02 and 1.20 versions, which are on CPAN). The problem is, that one will >need the usleep(), ualarm() and gettimeofday() routines (if I've got that right). >Only usleep() is in the PerlStub lib, the other two are in GUSI 1. However, the GUSI >1 libs are for the Codewarrior compilers only, and cannot be used with the Apple >compilers. And I don't own Codewarrior. > >If someone wants to build Time::HiRes for MacPerl 5.2.0r4, he/she should take a look >at the HiRes.xs file which comes with MacPerl 5.6.1. Chris has made some changes for >Mac OS, which, on a first glance, should be suitable for the old MacPerl, too. > >But maybe it's easier, when Adam upgrades to MacPerl 5.6.1? ;-) > >Best regards, > >--Thomas Actually, I just threw up my hands and decided to implement the whole shebang(awful pun intended!!) on OS X. While I posess CodeWarrior I have never gotten GUSI implemented properly and decided that in the long run that the OS X environment was better for what I was doing anyway. Best Regards, Adam
------------------------------------------------------------ PS: You should check out this great new site that I found. They've got free movies, music, email. It's really great! http://www.netbroadcaster.com