I consider this code buggy. If $@ is set, it must be reported/processed immediately without any further function call.
I agree. That was my (and I believe the OPs) point!
In reply to Re^4: Rethrowing with die $@ considered harmful
by adrianh
in thread Rethrowing with die $@ considered harmful
by ysth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |