|Just another Perl shrine|
Re^2: wxPerl Tutorial one :: The basicsby james28909 (Deacon)
|on May 29, 2014 at 00:00 UTC||Need Help??|
For anyone trying to get wxperl working, I used Active State perl (latest 32bit, reason being ). Then in ppm I added this repository: http://www.wxperl.co.uk/repository/package.xml
Then I installed Wx from Mattia Barbon, and that downloaded alien wxwidgets aswell. Then if your using WxGlade... you may need to change:
use Wx 0.15 qw[:allclasses];
Doing this will let you create an executable with Perlapp.
If you get an error message after running the app.exe about not being able to set locale to "en", then open your app.pl script and find Wx::Locale->new("English", "en", "en"); and delete both instances of "en".
When you create an executable out of the script with Perlapp, you may need to manually add modules. Also do not forget to "Hide Console" under options 2 tab in perlapp :P