fatpack-simple - only fatpack a script
$ fatpack-simple [OPTIONS] SCRIPT
-d, --dir DIRECTORIES where pm files to be fatpacked are. default: lib,fatlib,local,extlib -o, --output OUTPUT output filename -e, --exclude MODULES modules not to be fatpacked -s, --strict turn on strict mode -q, --quiet be quiet --color color output, default: on --no-strip do not perform perl-strip --cache DIRECTORY cache directory for perl-strip --shebang SHEBANG use custom shebang --exclude-strip REGEXP do not perform perl-strip on files which match REGEXP -h, --help show this help -v, --version show version
$ fatpack-simple script.pl $ fatpack-simple --dir deps,my-ext --output artifact.pl script.pl $ fatpack-simple --exclude Module::Build,List::MoreUtils --strict script.pl $ fatpack-simple --shebang '#!/usr/bin/env perl' script.pl $ fatpack-simple --exclude-strip 'MyApp.*\.pm' script.pl
fatpack-simple helps you fatpack a script when you understand the whole dependencies of it.
fatpack-simple
If you execute fatpack-simple script.pl, then you will get script.fatpack.pl that is the fatpacked script.pl with all modules in lib,fatlib,local,extlib directories. Also note that the all modules are automatically perl-stripped.
fatpack-simple script.pl
script.fatpack.pl
script.pl
lib,fatlib,local,extlib
For tutorial, please look at App::FatPacker::Simple::Tutorial.
Copyright (C) Shoichi Kaji.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Shoichi Kaji <skaji@cpan.org>
To install App::FatPacker::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::FatPacker::Simple
CPAN shell
perl -MCPAN -e shell install App::FatPacker::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.