http://www.perlmonks.org?node_id=595450


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]