in reply to Re: Use of "die" in OO modules
in thread Use of "die" in OO modules
Thanks for the link - interesting reading. The whole raison d'etre for my original post was that though I philosophically fall into the same camp, I have problems with the implementation/execution - in the absence of true built-in Exception handling, I have to decide between a couple of options: either fake up a try/catch type of thing by using eval {...}; if($@){...} or go with the old return undefined and let the caller inspect the object's error() method.
[Jon]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Use of "die" in OO modules
by adrianh (Chancellor) on Jan 21, 2007 at 18:10 UTC | |
by theguvnor (Chaplain) on Jan 26, 2007 at 01:31 UTC | |
by adrianh (Chancellor) on Jan 27, 2007 at 21:04 UTC | |
by theguvnor (Chaplain) on Jan 27, 2007 at 23:59 UTC | |
by adrianh (Chancellor) on Jan 28, 2007 at 21:31 UTC | |
|