develooper Front page | perl.perl5.porters | Postings from October 2003

Re: [PATCH] Re: [PATCH pod/perlfunc.pod] ref can return false on references

Thread Previous | Thread Next
From:
Gisle Aas
Date:
October 6, 2003 13:47
Subject:
Re: [PATCH] Re: [PATCH pod/perlfunc.pod] ref can return false on references
Message ID:
lrwubi6qpy.fsf@caliper.activestate.com
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;

--Gisle

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About