On Fri, Apr 23, 2004 at 02:50:42PM -0400, Austin Hastings wrote: : Sure, but "You haven't provided a value yet." doesn't seem very ... : exceptional.
The important thing will be "You didn't provide a value at line 42, though you didn't actually try to use it till line 582." : Sure -- the class of the object may object to the object being undef. (Sorry : :-) But does Perl object to an undef object of the class of the object : object? : : That is: : : $foo = (undef as Dog).collar(); Haven't the foggiest. I just pretend to be a language designer. Larry