develooper Front page | perl.perl5.porters | Postings from February 2008

Re: [PATCH] Re: [perl #47047] Use of inherited AUTOLOAD for non-method is deprecated

Thread Previous
From:
Rick Delaney
Date:
February 14, 2008 08:06
Subject:
Re: [PATCH] Re: [perl #47047] Use of inherited AUTOLOAD for non-method is deprecated
Message ID:
20080214160631.GB5372@bort.ca
On Feb 14 2008, Rafael Garcia-Suarez wrote:
> On 13/02/2008, Steve Peters <steve@fisharerojo.org> wrote:
> > Sorry, this must have been lost in the freeze.  This patch was added
> >  with change #33302.
> 
> And removed with change #33307. OP_ENTERSUB, as an UNOP, doesn't have
> an op_last field to be accessed; leading to unpredictable results and
> other core dumps on many platforms (saw them on FreeBSD).

Oops, I always thought it was a LISTOP.

> The correct way to get the last child is to navigate all the way
> through op_sibling pointers, starting with op_first. But do we want
> that in code that hot ?

Probably not.

-- 
Rick Delaney
rick@bort.ca

Thread Previous


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