On Mon, Oct 06, 2003 at 09:52:13PM +0100, Graham Barr wrote: > 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 Fortunately, there's a warning.Thread Previous | Thread Next