NAME

CPANPLUS::Dist::Debora::Package::Tar - Create tar archives

VERSION

version 0.009

SYNOPSIS

use CPANPLUS::Dist::Debora::Package::Tar;

my $package =
    CPANPLUS::Dist::Debora::Package::Tar->new(module => $module);

my $ok = $package->create(verbose => 0|1);
my $ok = $package->install(verbose => 0|1);

DESCRIPTION

This CPANPLUS::Dist::Debora::Package subclass creates tar archives from Perl distributions.

SUBROUTINES/METHODS

format_priority

my $priority = CPANPLUS::Dist::Debora::Package::Tar->format_priority;

Checks if the tar program is available.

create

my $ok = $package->create(verbose => 0|1);

Creates a tar archive.

install

my $ok = $package->install(verbose => 0|1);

Extracts the tar archive.

outputname

my $tar = $package->outputname;

Returns the tar archive's name, e.g. ~/.cpanplus/5.34.0/build/XXXX/perl-Some-Module-1.0-1.tar.gz.

DIAGNOSTICS

None.

CONFIGURATION AND ENVIRONMENT

None.

DEPENDENCIES

Requires the tar program and the Perl module Archive::Tar.

INCOMPATIBILITIES

None.

AUTHOR

Andreas Vögele <voegelas@cpan.org>

BUGS AND LIMITATIONS

This module cannot be used in taint mode.

LICENSE AND COPYRIGHT

Copyright 2022 Andreas Vögele

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