On 6 Oct 2003, at 21:44, Gisle Aas wrote: > I've noticed that the documentation of bless already says "Make sure > that CLASSNAME is a true value" and have said that for a long time. I > think we could simply enforce that and disallow all of these: > > bless $thing, 0 > bless $thing, ""; > bless $thing, undef; Well the last two cause ref to return "main" which may surprise some people Graham.Thread Previous | Thread Next