develooper Front page | perl.perl5.porters | Postings from September 2000

Re: [PATCH] Re: Perl5.7.0 "overload" of %{}

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
September 2, 2000 10:30
Subject:
Re: [PATCH] Re: Perl5.7.0 "overload" of %{}
Message ID:
20000902122959.A6073@chaos.wustl.edu
On Sat, Sep 02, 2000 at 05:16:59PM +0000, Nick Ing-Simmons wrote:
> Nick Ing-Simmons <nick@ing-simmons.net> writes:
> >Nick Ing-Simmons <nick@ing-simmons.net> writes:
> >>
> >>I am trying to decipher the gv.c code.
> >>
> >>Assuming I can find it I suggest:
> >>
> >>A. to_hv_amg i.e. %{} and related things do not fall through to 'nomethod'
> >>
> >>B. If %{} and co return %_[0] i.e. the object then further looping is 
> >>   supressed.
> >>
> >>(A) should avoid breakage like mine.
> >>(B) will break out of an easy to do infinite loop and 
> >>    a way to optimize the "access to self" if you _do_ want the overload.
> >
> >This is checked in as change 7009 cures the infinite loop and implements (B).
> 
> diff was baddly mangled by mailer.
> 
> Here it is again along with diff version of change 7012
> which implements (A).
> 
> make test still passes and my application now runs unmodified.

Thank you, Nick!

I think I will start preparing the release now.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

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