NAME App::tracepm - Trace dependencies of your Perl script file VERSION version 0.02 SYNOPSIS This distribution provides command-line utility called tracepm. FUNCTIONS tracepm(%args) -> [status, msg, result, meta] Arguments ('*' denotes required arguments): * args => *array* Script arguments. * core => *bool* Filter only modules that are in core. * detail => *bool* (default: 0) Whether to return records instead of just module names. * method => *str* (default: "fatpacker") Tracing method to use. There are two tracing methods that can be used. The first (and default) is "fatpacker", using "fatpacker trace". This method runs the script using "perl -c" option then collect the populated %INC. Only modules loaded during compile time are detected. The second method ("require") runs your script normally, but replaces "CORE::GLOBAL::require()" with a routine that logs the require() argument to the log file. Modules loaded during runtime is also logged. But some modules might not work, specifically modules that also overrides require() (there should be only a handful of modules that do this though). * perl_version => *str* Perl version, defaults to current running version. This is for determining which module is core (the list differs from version to version. See Module::CoreList for more details. * script* => *str* Path to script file (script to be packed). * use => *array* Additional modules to "use". This is like running: perl -MModule1 -MModule2 script.pl * xs => *bool* Filter only modules that are XS modules. 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 . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website 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 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.