On Fri, Apr 23, 2004 at 03:18:22PM -0400, Austin Hastings wrote: : > -----Original Message----- : > From: Larry Wall [mailto:[EMAIL PROTECTED] : > : > 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." : : So the "typed undef" doesn't get built or inserted or whatever until some : reference is made to the object? : : my Dog $spot; : my Dog $rover; : : At this point, no calls have been made to the 'default undef constructor', : right? : : $spot = $rover.clone(); : : At this point, $rover gets typed-undef, then cloned?
I was talking about unthrown exceptions objects. I have no opinions on how lazy undef wants to be for ordinary objects. Larry