| 1 |
NAME |
| 2 |
App::FatPacker - pack your dependencies onto your script file |
| 3 |
|
| 4 |
SYNOPSIS |
| 5 |
$ fatpack pack myscript.pl >myscript.packed.pl |
| 6 |
|
| 7 |
Or, with more step-by-step control: |
| 8 |
|
| 9 |
$ fatpack trace myscript.pl |
| 10 |
$ fatpack packlists-for `cat fatpacker.trace` >packlists |
| 11 |
$ fatpack tree `cat packlists` |
| 12 |
$ fatpack file myscript.pl >myscript.packed.pl |
| 13 |
|
| 14 |
Each command is designed to be simple and self-contained so that you can |
| 15 |
modify the input/output of each step as needed. See the documentation |
| 16 |
for the fatpack script itself for more information. |
| 17 |
|
| 18 |
The programmatic API for this code is not yet fully decided, hence the |
| 19 |
0.x release version. Expect that to be cleaned up for 1.0. |
| 20 |
|
| 21 |
CAVEATS |
| 22 |
As dependency module code is copied into the resulting file as text, |
| 23 |
only pure-perl dependencies can be packed, not compiled XS code. |
| 24 |
|
| 25 |
The currently-installed dependencies to pack are found via .packlist |
| 26 |
files, which are generally only included in non-core distributions that |
| 27 |
were installed by a CPAN installer. This is a feature; see |
| 28 |
"packlists-for" in fatpack for details. (a notable exception to this is |
| 29 |
FreeBSD, which, since its packaging system is designed to work |
| 30 |
equivalently to a source install, does preserve the packlist files) |
| 31 |
|
| 32 |
SEE ALSO |
| 33 |
article for Perl Advent 2012 |
| 34 |
<http://www.perladvent.org/2012/2012-12-14.html> |
| 35 |
|
| 36 |
pp - PAR Packager, a much more complex architecture-dependent packer |
| 37 |
that can pack compiled code and even a Perl interpreter |
| 38 |
|
| 39 |
SUPPORT |
| 40 |
Bugs may be submitted through the RT bug tracker |
| 41 |
<https://rt.cpan.org/Public/Dist/Display.html?Name=App-FatPacker> (or |
| 42 |
[email protected] <mailto:[email protected]>). |
| 43 |
|
| 44 |
You can normally also obtain assistance on irc, in #toolchain on |
| 45 |
irc.perl.org. |
| 46 |
|
| 47 |
AUTHOR |
| 48 |
Matt S. Trout (mst) <[email protected]> |
| 49 |
|
| 50 |
CONTRIBUTORS |
| 51 |
miyagawa - Tatsuhiko Miyagawa (cpan:MIYAGAWA) <[email protected]> |
| 52 |
|
| 53 |
tokuhirom - MATSUNO★Tokuhiro (cpan:TOKUHIROM) <[email protected]> |
| 54 |
|
| 55 |
dg - David Leadbeater (cpan:DGL) <[email protected]> |
| 56 |
|
| 57 |
gugod - 劉康民 (cpan:GUGOD) <[email protected]> |
| 58 |
|
| 59 |
t0m - Tomas Doran (cpan:BOBTFISH) <[email protected]> |
| 60 |
|
| 61 |
sawyer - Sawyer X (cpan:XSAWYERX) <[email protected]> |
| 62 |
|
| 63 |
ether - Karen Etheridge (cpan:ETHER) <[email protected]> |
| 64 |
|
| 65 |
Mithaldu - Christian Walde (cpan:MITHALDU) |
| 66 |
<[email protected]> |
| 67 |
|
| 68 |
dolmen - Olivier Mengué (cpan:DOLMEN) <[email protected]> |
| 69 |
|
| 70 |
djerius - Diab Jerius (cpan:DJERIUS) <[email protected]> |
| 71 |
|
| 72 |
haarg - Graham Knop (cpan:HAARG) <[email protected]> |
| 73 |
|
| 74 |
grinnz - Dan Book (cpan:DBOOK) <[email protected]> |
| 75 |
|
| 76 |
Many more people are probably owed thanks for ideas. Yet another doc nit |
| 77 |
to fix. |
| 78 |
|
| 79 |
COPYRIGHT |
| 80 |
Copyright (c) 2010 the App::FatPacker "AUTHOR" and "CONTRIBUTORS" as |
| 81 |
listed above. |
| 82 |
|
| 83 |
LICENSE |
| 84 |
This library is free software and may be distributed under the same |
| 85 |
terms as perl itself. |
| 86 |
|