in reply to Archive::Tar and error handling

1. `perldoc -f warn`:

       
warn LIST

Produces a message on STDERR just like "die", but
doesn't exit or throw an exception.

If LIST is empty and $@ already contains a value
(typically from a previous eval) that value is
used after appending "\t...caught" to $@.  This is
useful for staying almost, but not entirely simi-
lar to "die".

If $@ is empty then the string "Warning: Some-
thing's wrong" is used.
2. I think that warning can be blamed on "use warnings;"

--
B10m

Replies are listed 'Best First'.
Re: Re: Archive::Tar and error handling
by Anonymous Monk on Oct 25, 2003 at 19:59 UTC
    I'll investigate #1 above and the suggestions by demerphq but I'd already tried commenting out "use warnings;". It produces the message in either case (even with $Archive::Tar::WARN = 0;).