NAME

CPAN::Tarball::Patch - Patch a CPAN tarball, via CPAN::Distroprefs mechanism

VERSION

Version 0.020000

SYNOPSIS

Patching a tarball using CPAN::Distroprefs

use CPAN::Tarball::Patch;

my $patcher = CPAN::Tarball::Patch->new("$ENV{"HOME"}/.local/share/.cpan/prefs/", "$ENV{"HOME"}/.local/share/.cpan/patches/");

$patcher->patch("CONTRA/Acme-LSD-0.04.tar.gz");
# The argument format is NOT flexible since it would be used for matching by CPAN::Distroprefs
# In other words, it should be: AUTHOR/tarball.tar.gz

As of today, this module internal functioning and API is not fixed, do not use it yet (or at your risks).