NAME
App::fatten - Pack your dependencies onto your script file
VERSION
version 0.03
SYNOPSIS
This distribution provides command-line utility called fatten.
FUNCTIONS
fatten(%args) -> [status, msg, result, meta]
Arguments ('*' denotes required arguments):
exclude => array
Modules to exclude.
When you don't want to include a module, specify it here.
exclude_pattern => array
Regex patterns of modules to exclude.
When you don't want to include a pattern of modules, specify it here.
include => array
Modules to include.
When the tracing process fails to include a required module, you can add it here.
input_file* => str
Path to input file (script to be packed).
output_file => str
Path to output file, defaults to `packed` in current directory.
perl_version => str
Perl version to target, defaults to current running version.
strip => bool (default: 0)
Whether to strip included modules using Perl::Stripper.
trace_method => str (default: "fatpacker")
Which method to use to trace dependencies.
The default is
fatpacker
, which is the same as whatfatpack trace
does. There are other methods available, please seeApp::tracepm
for more details.use => array
Additional modules to "use".
Will be passed to the tracer. Will currently only affect the
fatpacker
andrequire
methods (because those methods actually run your script).
Return value:
Returns an enveloped result (an array).
First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (result) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information.
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.