in reply to Re: Rethrowing with die $@ considered harmful
in thread Rethrowing with die $@ considered harmful
The latter is the generally recommended usage. Just deal. Anything that triggers perl code could clear $@. I wouldn't have normally thought to guard against an overloaded $@ but I suppose that's possible too. In general, when examining $@ you are always expected to copy it out.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Rethrowing with die $@ considered harmful
by Tanktalus (Canon) on Jul 18, 2006 at 13:24 UTC | |
by diotalevi (Canon) on Jul 18, 2006 at 14:30 UTC |