-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assignments inside lists misbehave #7483
Comments
From jerabek@math.cas.czCreated by jerabek@math.cas.czWhen a variable followed by an assignment to the same variable are Specifically, the original length of an array is preserved, but the (I hope the examples are more clear than the description.) [ Notice that this affects in particular the common "reverse comma" Cheers, Perl Info
|
From @iabynOn Tue, Aug 31, 2004 at 01:02:16PM -0000, jerabek @ math. cas. cz wrote:
Thanks for the report. This one can be chalked up to the "for efficiency, The 3,4,5 elements of @a are pushed on the stack, and then get freed
I'm not sure what you mean there. The problem should only occur if an item is freed while still on the stack, Dave. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @ysthOn Wed, Sep 01, 2004 at 09:44:56PM +0100, Dave Mitchell <davem@iabyn.com> wrote:
Unfixable bug, as Dave says.
Correct behaviour. If you want to make a list of the initial numeric A variable is an lvalue, even in a list. Since the += happens before
I've often wondered if it would actually *increase* efficiency to
He's referring to the second case, which isn't a bug. |
From @iabynOn Wed, Sep 01, 2004 at 03:06:10PM -0700, Yitzchak Scott-Thoennes wrote:
yes, such as adding half the stuff we push onto the tmps stack too, If it was just a case of changing the various PP macros, I'd consider -- |
From @hvdsDave Mitchell <davem@iabyn.com> wrote: If we've done things right, it should in principle be possible to leave I'd be quite interested to see what sort of improvements we might be Hugo |
Migrated from rt.perl.org#31403 (status was 'open')
Searchable as RT31403$
The text was updated successfully, but these errors were encountered: