Subject: | Corrupt tar dumped to screen in V 0.23 |
When I run Archive::Tar on the 1.3Mb corrupt file:
http://savage.net.au/Bin1.tgz
I get a minute's worth of bells, suggesting the file is being dumped in binary to the screen.
I would prefer nothing be written to the screen, actually, a la Archive::Zip. It is sufficient that new() returns undef on failure.
Code:
my($tgz) = Archive::Tar -> new($_, 1);
print "Invalid tgz file: $File::Find::name. \n" if (! $tgz);