in reply to Re^7: Tk Bind scalar
in thread Tk Bind scalar

Maybe you need a different Time::HiRes module compiled for windows? I don't use MSWindows, but I have noticed there are sometimes multiple xs based versions of modules for MSWindows, and some work better on certain hardware/Windows-release combinations.

I'm not really a human, but I play one on earth My Petition to the Great Cosmic Conciousness

Replies are listed 'Best First'.
Re^9: Tk Bind scalar
by skywalker (Beadle) on Feb 24, 2009 at 18:48 UTC
    Ok ive not managed to find any thing that will get my version of HiRes to function on Windows, or locate any specific Windows modules. however I have found a nice bit of code that I can use directly with Tk, that will run an interval check for me which until I rewrite using POE::Wheel will do me fine.
    #start thread $thr = threads->new(\&sub1); #setup timer to process in 500ms intervals $mw->repeat(500 => \&update_display); MainLoop(); sub update_display{ print "Running from Mainloop\n"; $mw->update; } sub sub1{ while (1){ print "Running From thread\n"; sleep(1); } }
    Thanks for all the help

    Skywalker