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 | |
by Anonymous Monk on Oct 25, 2003 at 23:55 UTC |