On Mar 30, 2006, at 13:33, D D Allen wrote:
I started with the Poe Tk cookbook example (
http://poe.perl.org/?POE_Cookbook/Tk_Interfaces) which runs fine. My
first exploratory change was to change the line
"$_[KERNEL]->yield("ev_count");" in the ui_count sub to
"$_[KERNEL]->delay("ev_count", .5);" so that the counter is updated
twice
per second as opposed to continuously (as fast as Poe can generate
events)
-- which works as intended -- but has the side-effect that when I
click
close on the Tk window, while the window goes away, the Perl script
doesn't terminate as expected.
Verified here. I'm looking into it.
I figure that I'm either missing something very basic (quite
possible) or
there's something "not quite right" with Poe under Win32. The later
seems
to be a possibility as the ActiveState build status page for Poe
0.3301
for Win32 shows that the build failed which is why I had to get the
PPM
from Randy Kobes PPM repository.
http://ppm.activestate.com/BuildStatus/5.8-windows/windows-5.8/
POE-0.3301.txt
ActiveState have traditionally harshed on POE for a number of
reasons, including its use of ExtUtil::MakeMaker. Version 0.34 won't
be using that module anymore, so we'll see what other problems crop up.
--
Rocco Caputo - [EMAIL PROTECTED]