App::DiffTarballs - Diff contents of two tarballs
This document describes version 0.003 of App::DiffTarballs (from Perl distribution App-DiffTarballs), released on 2017-08-07.
See the included script diff-tarballs.
Usage:
diff_tarballs(%args) -> [status, msg, result, meta]
Diff contents of two tarballs.
Examples:
Show diff between two Perl releases:
diff_tarballs( tarball1 => "My-Dist-1.001.tar.gz", tarball2 => "My-Dist-1.002.tar.bz2" );
This function is not exported.
Arguments ('*' denotes required arguments):
tarball1* => filename
tarball2* => filename
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.
Return value: (any)
If set to true, will cause temporary directories to not being cleaned up after the program is done.
Set diff command to use. Defaults to diff -ruN. For example, you can set it to diff --color -ruN (--color requires GNU diff 3.4 or later), or colordiff -ruN.
diff -ruN
diff --color -ruN
--color
colordiff -ruN
Please visit the project's homepage at https://metacpan.org/release/App-DiffTarballs.
Source repository is at https://github.com/perlancar/perl-App-DiffTarballs.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-DiffTarballs
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.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2017 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::DiffTarballs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::DiffTarballs
CPAN shell
perl -MCPAN -e shell install App::DiffTarballs
For more information on module installation, please visit the detailed CPAN module installation guide.