carcassonne has asked for the wisdom of the Perl Monks concerning the following question:


I'm starting to look at WxPerl, using Glade to create forms (to eventually use Wx with POE). So I got this very simple form with one button. I've chosen the option to save in multiple files so that I have the app in one file and the form in another. When done I press the 'generate code' button. Works fine, but upon starting it reports that:

Subroutine Wx::App::OnInit redefined at ./ line 15.

This is code generated by Glade. OnInit is nowhewre to be found elsewhere in the two files. Anyone know how to fix this little problem that does not seem to affect the application's behaviour ?