|App::FatPacker(3pm)||User Contributed Perl Documentation||App::FatPacker(3pm)|
App::FatPacker - pack your dependencies onto your script file
$ fatpack pack myscript.pl >myscript.packed.pl
Or, with more step-by-step control:
$ fatpack trace myscript.pl $ fatpack packlists-for `cat fatpacker.trace` >packlists $ fatpack tree `cat packlists` $ fatpack file myscript.pl >myscript.packed.pl
Each command is designed to be simple and self-contained so that you can modify the input/output of each step as needed. See the documentation for the fatpack script itself for more information.
The programmatic API for this code is not yet fully decided, hence the 0.x release version. Expect that to be cleaned up for 1.0.
As dependency module code is copied into the resulting file as text, only pure-perl dependencies can be packed, not compiled XS code.
The currently-installed dependencies to pack are found via .packlist files, which are generally only included in non-core distributions that were installed by a CPAN installer. This is a feature; see "packlists-for" in fatpack for details. (a notable exception to this is FreeBSD, which, since its packaging system is designed to work equivalently to a source install, does preserve the packlist files)
article for Perl Advent 2012 <http://www.perladvent.org/2012/2012-12-14.html>
pp - PAR Packager, a much more complex architecture-dependent packer that can pack compiled code and even a Perl interpreter
Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=App-FatPacker> (or bug-App-FatPacker@rt.cpan.org <mailto:bug-App-FatPacker@rt.cpan.org>).
You can normally also obtain assistance on irc, in #toolchain on irc.perl.org.
Matt S. Trout (mst) <email@example.com>
miyagawa - Tatsuhiko Miyagawa (cpan:MIYAGAWA) <firstname.lastname@example.org>
tokuhirom - MATSUNO★Tokuhiro (cpan:TOKUHIROM) <email@example.com>
dg - David Leadbeater (cpan:DGL) <firstname.lastname@example.org>
gugod - 劉康民 (cpan:GUGOD) <email@example.com>
t0m - Tomas Doran (cpan:BOBTFISH) <firstname.lastname@example.org>
sawyer - Sawyer X (cpan:XSAWYERX) <email@example.com>
ether - Karen Etheridge (cpan:ETHER) <firstname.lastname@example.org>
Mithaldu - Christian Walde (cpan:MITHALDU) <email@example.com>
dolmen - Olivier Mengué (cpan:DOLMEN) <firstname.lastname@example.org>
djerius - Diab Jerius (cpan:DJERIUS) <email@example.com>
haarg - Graham Knop (cpan:HAARG) <firstname.lastname@example.org>
grinnz - Dan Book (cpan:DBOOK) <email@example.com>
Many more people are probably owed thanks for ideas. Yet another doc nit to fix.
Copyright (c) 2010 the App::FatPacker "AUTHOR" and "CONTRIBUTORS" as listed above.
This library is free software and may be distributed under the same terms as perl itself.