NAME

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

VERSION

version 0.012

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.36.1/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.

BUGS AND LIMITATIONS

None known.

AUTHOR

Andreas Vögele <voegelas@cpan.org>

LICENSE AND COPYRIGHT

Copyright (C) 2023 Andreas Vögele

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