in reply to Re: Need help doing simple tasks in WxPerl / Wxglade
in thread Need help doing simple tasks in WxPerl / Wxglade
Thanks for this response. I guess I was assuming that WxPerl was intercepting my Perl commands and not running them, and in my head I was segregating the GUI from the program, and not understanding why the program wasn't running until the GUI closed. It actually looks like it might be a buffering issue with auto flush. I've tried to printf in the event handler, but it seemed to do the same
I think this post will be enough to get over the initial hump. Thank you so much!
Update: Yes!!!!!! The above post has just opened up so much for me in regards to working with Wx.
Adding the following line gives output immediately to console log and finally "makes sense" to me with what Wx is actually doing.
select((select(STDOUT), $|=1)[0]);Thank you so much. I should be able to port my program from Win32 to Wx now.
|
|---|