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

Re: [PATCH] Re: [perl #37350] $#{@$aref} in debugger gives: Bizarrecopy of ARRAY in leave

Thread Previous | Thread Next
From:
David Landgren
Date:
October 14, 2005 13:20
Subject:
Re: [PATCH] Re: [perl #37350] $#{@$aref} in debugger gives: Bizarrecopy of ARRAY in leave
Message ID:
4350130D.1080303@landgren.net
David Landgren wrote:

> Robin Houston wrote:
> 
>> Here is a version that uses a macro.
>>
>> Do we need to be binary compatible? If not, the 'b' flag and
>> the Perl_ref() implementation can be scrapped. On the other
>> hand: if we're seriously worried about back-compat, and the
>> comment at the top of embed.fnc is to be believed, the doref
>> line should be moved to the end.
>>
>> Also includes tests, which should be relevant whichever
>> implementation variant gets the green light.
> 
> 
> Does this patch make it work now under the dubber?

Gah. Debugger. And hit Enter too early. Does this by chance also happen 
to make

   push @{$_ % 2 ? @odd : @even} for 0..10

happen to work as well, or are other forces coming into play?

> David
> 



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