NAME

fatten - Pack your dependencies onto your script file

VERSION

version 0.04

SYNOPSIS

# by default outputs to 'packed' in the current directory
% fatten bin/script.pl

# some options (set debug, set target perl version, add some modules, set output)
% fatten --debug -V 5.10.1 -I Foo::Bar -I Baz script.pl script.pl.packed

# see more options
% fatten --help

DESCRIPTION

fatten is an alternative command-line script for App::FatPacker. Differences with the fatpack script that comes with App::FatPacker:

  • A simpler interface and some nice defaults

    Currently fatten ignores fatlib/ and XS modules. It only focuses on creating free-standing Perl script which depends on pure-Perl modules (.pm files) only. Including fatlib/ to a stand-alone script will require an approach like PAR::Archive (i.e. bundling the required files in an archive and extracting the required files into a temporary directory).

    By default fatten skips core modules.

    fatpack sometimes fails to include some modules because it can't find the .packlist said modules. fatten goes ahead and tries the next best thing which is to copy just the .pm files.

  • Alternative methods to trace script's dependencies

    Aside from the default `fatpack trace` method, it can also use Perl::PrereqScanner and others. See App::tracepm for more details.

  • Some extra options

    Like an option to strip the modules with Perl::Stripper.

SEE ALSO

App::FatPacker

For producing free-standing Perl scripts/applications, there are other alternatives like PAR::Packer (can also pack XS modules and compress the included files in a special archive, but with higher startup time and temporary directory to extract stuffs).

Perl::Stripper

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-fatten.

SOURCE

Source repository is at https://github.com/sharyanto/perl-App-fatten.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-fatten

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Steven Haryanto.

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