NAME

fatpack-simple - only fatpack a script

SYNOPSIS

$ fatpack-simple [OPTIONS] SCRIPT

OPTIONS

-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

EXAMPLES

$ 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

DESCRIPTION

fatpack-simple helps you fatpack a script when you understand the whole dependencies of it.

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.

For tutorial, please look at App::FatPacker::Simple::Tutorial.

LICENSE

Copyright (C) Shoichi Kaji.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Shoichi Kaji <skaji@cpan.org>