I'm using PAR 0.74 to package and run a ~100KB perl script on various linux boxes. Compilation works fine, however the resulting binary weights at ~3MB, and when launched, takes 10 or 15 times more time to boot than the .pl version. I've just tried recently released 0.75 version, the binary still "overweights".
I'm not sure I am using the correct pp syntax, right now I'm doing :
pp -M Config::Simple -M POE::Kernel -M POE::Macro::UseBytes -M POE::Filter::Reference -M Net::FTP -M Term::ProgressBar -M Term::ANSIColor -o mybin myscript.pl
The .pl script is using the following modules :
use POE;
use POE::Component::IRC;
use POE qw(Wheel::Run Filter::Reference Wheel::ReadWrite Driver::SysRW Filter::Stream);
use Config::Simple;
use Net::FTP;
use Net::Cmd;
use Net::Config;
use Term::ANSIColor qw(:constants);
use Term::ProgressBar;
Can anyone point me to pp syntax packaging tweaks to reduce binary size ? Thanks
Laurent Perez
