Zoly wrote:
Hi Folks,
In my short primitive code I used 'Time::HiRes' that worked for me
pretty good on my old P4-2.4GHz machine with XP-pro for long. Sample:
(Line 3)-> use Time::HiRes qw(usleep ualarm gettimeofday
tv_interval);
I had to replace my PC and the platform now is a 'AMD-Athlon 64 X2
Dual Core 3800+' that made my applications "flying" compared to the
earlier one, but there is a problem, my code exits with this error
message below. Time::HiRes::ualarm(): unimplemented in this platform at
C:\Perl\time.pl line 3
Jan wrote:
ualarm() never worked on Windows, so are you sure you need it at all?
Later versions of Time::HiRes started to abort during the importing
of the name rather when it was first called, which is why you see the
error much earlier now.
Cheers,
-Jan
[EMAIL PROTECTED] wrote:
Hi there,
Most likely its the fact the code for that module was built for a older
type of
system. Dual core 64 bit is fairly sophisticated and pretty new. Well,
thats
what that error suggests to me is going on. I'd say its time to find a
updated
or newer module that can perform on that kind of a system. The rest of the
world still needs some time to catch up to the 64 bit stuff. Thats my
two sense anyway
Wow, you are right, removing the 'ualarm' import helped, it works great now.
New sample:
use Time::HiRes qw(usleep gettimeofday tv_interval);
Fortunately the reminder works because I need them all.
Thanks very much. I appreciate your help.
Zoly
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs