Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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??


in reply to OO: Leaving a constructor midway?

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.

Replies are listed 'Best First'.
Re[2]: OO: Leaving a constructor midway?
by snax (Hermit) on Oct 22, 2003 at 14:50 UTC
    Ahh, a moment of sanity. I was hoping someone would have seen it this way.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://301144]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-03-28 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found