develooper Front page | perl.perl5.porters | Postings from January 2011

[perl #45147] Issue with the exists function

From:
Father Chrysostomos via RT
Date:
January 2, 2011 23:54
Subject:
[perl #45147] Issue with the exists function
Message ID:
rt-3.6.HEAD-5425-1294041237-178.45147-15-0@perl.org
On Mon Dec 27 11:35:56 2010, peter@martinidata.com wrote:
> Perl_av_exists tested to see if regdata magic was present,
> but did not have any logic to fetch that data in the positive
> key case.  Additionally, in the negative key case, if AvFILL
> indicated the key existed, it wouldn't return, and would then
> fall through to the logic that treated it like a real array.
> ---
>  AUTHORS    |    1 +
>  av.c       |   13 ++++++++++++-
>  t/re/pat.t |   15 ++++++++++++++-
>  3 files changed, 27 insertions(+), 2 deletions(-)

Thank you. Applied as 54a4274e3.




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