CPANPLUS-Dist-Debora

 view release on metacpan or  search on metacpan

lib/CPANPLUS/Dist/Debora/Package/Tar.pm  view on Meta::CPAN

version 0.018

=head1 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);

=head1 DESCRIPTION

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

=head1 SUBROUTINES/METHODS

=head2 format_priority

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

Checks if the tar program is available.

=head2 create

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

Creates a tar archive.

=head2 install

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

Extracts the tar archive.

=head2 outputname

  my $tar = $package->outputname;

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

=head1 DIAGNOSTICS

None.

=head1 CONFIGURATION AND ENVIRONMENT

None.

=head1 DEPENDENCIES

Requires the tar program and the Perl module L<Archive::Tar>.

=head1 INCOMPATIBILITIES

None.

=head1 BUGS AND LIMITATIONS

None known.

=head1 AUTHOR

Andreas Vögele E<lt>voegelas@cpan.orgE<gt>

=head1 LICENSE AND COPYRIGHT

Copyright (C) 2025 Andreas Vögele

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

=cut



( run in 1.793 second using v1.01-cache-2.11-cpan-39bf76dae61 )