in reply to Re: POE, pTk, JSON Cause Lockup with perlapp
in thread POE, pTk, JSON Cause Lockup with perlapp

rcaputo++ As always, thanks for your quick and knowledgable replies.

I've made available a zip file containing the perlapp binary that I generated on my windows machine from the above program, along with a copy of the input file. You can download it for the next few days from here. On a side note, is there some way I can upload this to the perlmonks website to keep it available with this node?

On my machine the input data shows up in the text window, but the program becomes unresponsive as soon as all the data has been placed there. If I use a really big file, I can hit the stop button and it will work (even though I'm using MainWindow->new), but then the program becomes unresponsive. Also, scrolling works while the input is being read in.

I agree with your statement Creating your own MainWindow is an odd workaround, however I had to do this to get the perlapp-ed program to run. The value of $poe_main_window in the perlapp-ed program is null. On top of that, if I force MainWindow to be used by changing the line to be my $top = MainWindow->new(); Running the .pl script creates 2 visible windows (one blank, the other with text) while the perlapp-ed program creates only the one with the text.

I will try using some other JSON modules and see if that has any effect.

Thanks for the suggestions!

-Craig