Perl Monk, Perl Meditation | |
PerlMonks |
SOLVED: POE & Tk totally confound perlapp (or am I missing something?)by cmv (Chaplain) |
on Apr 22, 2009 at 18:56 UTC ( [id://759372]=note: print w/replies, xml ) | Need Help?? |
Folks-
This problem was solved off of the POE mailing list by Andrew F. It turns out that POE::Kernel tries to figure out which event loop to use, if none is specified. It was guessing correctly from the *.pl file, but incorrectly from the *.exe file (it tried to use the default POE::Loop::Select). I don't know what perlapp does to make POE::Kernel guess incorrectly, but to solve the problem you simply force POE::Kernel to use the correct event loop. Here is Andrew's solution (also note all the "use" statements so you don't have to put all those "--add" command line options on your perlapp line): Thanks Andrew! -Craig
In Section
Seekers of Perl Wisdom
|
|