in reply to Re^4: die properly
in thread die properly
If it seems to be working, then it is a remarkable form of working, because the logic is backwards from what dragonchild posted. Notice that after the eval, his code acted on the error if $@ evaluated to true, while yours acts on the error if $@ is false (i.e. when there are actually no errors).
the lowliest monk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: die properly
by Anonymous Monk on May 13, 2005 at 12:23 UTC |