Syntactic Confectionery Delight | |
PerlMonks |
Re: OO: Leaving a constructor midway?by chromatic (Archbishop) |
on Oct 22, 2003 at 03:16 UTC ( [id://301144]=note: print w/replies, xml ) | Need Help?? |
I'd throw an exception from the constructor and catch and redirect where it's called instead. I don't expect any constructor to exit the program for me.
In Section
Seekers of Perl Wisdom
|
|