[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: __DIE__ and exception hooks
Redford, John writes:
: What would that mean for my currently running code:
: die [ 1, 2 ];
Objecthood in Perl is orthogonal to data structure. Perl could turn [1,2]
into an object, and you'd be none the wiser until you tried to call a
method on it. Mind you, the default STRINGIFY method for the default
exception class might be a little surprised to get such a value, but
at worst you'd get an error message like ARRAY(0x239d8), and at best,
we will have provided a way to set a default ARRAY->STRINGIFY method
by then.
Larry
- References to:
-
"Redford, John" <John.Redford@fmr.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]