cpan Archive-Tar 1.54

latest releases: 3.12, 3.10, 3.08...
16 years ago
  • Apply a patch from Niko Tyni (ntyni@debian.org) that resolves RT #48879;

As seen in [rt.cpan.org #48879], although the recommended way of
retrieving the last error is to use an instance method ($tar->error),
the returned value is effectively global: an error in one Archive::Tar
instance changes the error string of another instance.

This change separates the error strings from each other while keeping
the (deprecated) global value of $Archive::Tar::error pointing to the
last error regardless of its instance.

We also support calling error() as a class method (Archive::Tar->error).
In this case it returns the global value, which matches the old behaviour.

Don't miss a new Archive-Tar release

NewReleases is sending notifications on new releases.