http://qs1969.pair.com?node_id=802398


in reply to Compiling wxperl with pp?

Out of curiousity - why do Perl/Tk programs work without special effort being put in, but wxperl programs don't?
for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";

Replies are listed 'Best First'.
Re^2: Compiling wxperl with pp?
by Anonymous Monk on Oct 21, 2009 at 09:13 UTC
    If you compile Wx statically (like Tk), it would take the same exact amount of effort. PAR doesn't scan for external dlls well (or at all?). Wx::Perl::Packager compensates for this, saves you from manually -adding dlls like
    pp -c -v -a wxbase28u_gcc_custom.dll -a wxmsw28u_adv_gcc_custom.dll -a + wxmsw28u_core_gcc_custom.dll -e " use Wx; print Wx::wxVERSION_STRING +,qq!\n!"