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

Re: [perl #10030] DESTROY not called on code reference objects

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
August 18, 2003 10:56
Subject:
Re: [perl #10030] DESTROY not called on code reference objects
Message ID:
20030818164825.GA514@fdgroup.com
On Sun, Aug 17, 2003 at 05:27:51PM -0700, Michael G Schwern wrote:
> On Sun, Aug 17, 2003 at 11:07:15PM +0100, Dave Mitchell wrote:
> > Simon mentions that "either the documentation or the code are wrong".
> > Since it would be inefficient to fix, and since closureless anon subs
> > are more common that blessed coderefs (I would speculate), I think it
> > should be documented as a misfeature.
[snip]
> Don't document bugs as features.  You will hate yourself in the morning.

Note that I used the word 'misfeature' rather than 'feature'. So I was
suggesting to document it as "this may not work, and it may change
in future, so don't rely on it".

-- 
In my day, we used to edit the inodes by hand.  With magnets.

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