Package: libarchive-tar-perl
Version: 1.23-1
Severity: normal
Tags: upstream
Hello,
Following line:
if(!$tar->contains_file("./shlibs")) {
results with:
No such file in archive: './shlibs' at ./parsefiles line 120
if parsed tarball does not contain shlibs file.
This is annoying behavior. I am checking for the result of
contains_file() method to avoid unnecesary bug/warning reports.
I know about $Archive::Tar::WARN, but the reason for using
contains_file() is to keep operator from reading annoying warnings.
That's why this method should output nothing unless user declare sth
like:
$Archive::Tar::BE_REALLY_VERBOSE=1;
I really appreciate warning in any other situations, but in this one it
is something unfriendly, forcing me to use constructions like:
$Archive::Tar::WARN=0;
if($tar->contains_file($foo)) {
...
};
$Archive::Tar::WARN=1;
Best regards
Artur
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11blbl
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Versions of packages libarchive-tar-perl depends on:
ii libio-string-perl 1.05-1 Emulate IO::File interface for in-
ii libio-zlib-perl 1.04-1 IO:: style interface to Compress::
ii perl 5.8.7-4 Larry Wall's Practical Extraction
libarchive-tar-perl recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]