I'm using perl 5.10 with Tkx and am trying to implement an interval
timer on my Win32 (XP) box.  After reading the documentation, I'm only
attempting to use the ITIMER_REAL because I'm on a Win32 platform.
 
my "dumbed down" code:
 
use Time::HiRes qw( setitimer ITIMER_REAL );

  $SIG{ALRM} = sub { print time, "\n" };
  setitimer(ITIMER_REAL, 10, 2.5);

 
Results in this error:
 
Your vendor has not defined Time::HiRes macro ITIMER_REALPROF...
 
Any insight is appreciated.
 
Thanks,
Mike
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to