Archive-Tar

 view release on metacpan or  search on metacpan

lib/Archive/Tar.pm  view on Meta::CPAN

message you would get by doing:

    $tar->error(1);

Defaults to C<0>.

=head2 $Archive::Tar::WARN

Set this variable to C<0> if you do not want any warnings printed.
Personally I recommend against doing this, but people asked for the
option. Also, be advised that this is of course not threadsafe.

Defaults to C<1>.

=head2 $Archive::Tar::error

Holds the last reported error. Kept for historical reasons, but its
use is very much discouraged. Use the C<error()> method instead:

    warn $tar->error unless $tar->extract;



( run in 0.837 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )