in reply to Re: OO: Leaving a constructor midway?
in thread OO: Leaving a constructor midway?
And, as far as I know, it's not possible to leave a bless midway. From a language perspective, it's an atomic operation, with one op in the optree.
Of course, in the given code fragment, neither bless, nor the subroutine returning the blessed reference is left halfway. Printing out a redirection header won't make your program exit (unless there are some bugs somewhere).
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re2: OO: Leaving a constructor midway?
by dragonchild (Archbishop) on Oct 22, 2003 at 13:58 UTC | |
by Abigail-II (Bishop) on Oct 22, 2003 at 14:23 UTC | |
by dragonchild (Archbishop) on Oct 22, 2003 at 14:44 UTC | |
by Abigail-II (Bishop) on Oct 22, 2003 at 15:38 UTC | |
by oylee (Pilgrim) on Oct 22, 2003 at 16:32 UTC |