in reply to buildpacked.pl - Pack script and dependencies into self-extracting bash script
Congratulations, you've reinvented shar/ fatpack
Congratulations, pp --perlscript can almost do that too :) provided you use -X coremod to exclude core modules
system qw{ pp -M Data::Dump::FilterContext -M Data::Dump::Filtered -M Data::Dump -X File::Glob -X threads -X Symbol -X subs -X overload -X Exporter -X vars -X utf8 -X strict -X base -X Carp -X Config -X Exporter::Heavy -X feature -X XSLoader -X DynaLoader -X Scalar::Util -X mro -X warnings::register -X integer -X warnings -X MIME::Base64 -X Text::ParseWords -X List::Util -C CACHEFILE --perlscript -o ddvars -e } => 'use Data::Dump; dd\@INC,\%ENV; ';
Sure various lib/unicore/lib/IDC/N.pl get packed as well, but no binary components get packed, no .dll's or .so's
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: buildpacked.pl - Pack script and dependencies into self-extracting bash script
by Anonymous Monk on Aug 21, 2012 at 20:02 UTC | |
by jbryan (Acolyte) on Aug 21, 2012 at 20:21 UTC | |
by Anonymous Monk on Aug 21, 2012 at 20:26 UTC | |
by jbryan (Acolyte) on Aug 21, 2012 at 20:29 UTC | |
by Anonymous Monk on Aug 22, 2012 at 09:38 UTC | |
Re^2: buildpacked.pl - Pack script and dependencies into self-extracting bash script
by jbryan (Acolyte) on Aug 21, 2012 at 20:06 UTC |
In Section
Cool Uses for Perl