develooper Front page | perl.perl5.porters | Postings from July 2009

Re: delete local $a[$idx] - delete local $h{$key}

Thread Previous
Vincent Pit
July 25, 2009 15:12
Re: delete local $a[$idx] - delete local $h{$key}
Message ID:

> equivalent to "delete $a[$idx]; local $a[$idx]"
The attentive reader will have corrected this to "local $a[$idx]; delete
$a[$idx]" by himself. Hopefully noone has read the first message yet. :)

> There are no changes to the grammar. The optree changes are minimal (now
> OP_DELETE also accepts OPpLVAL_INTRO). It works for (?:arrays|hashes)
> (?:references)? (?:subscripts|slices).
And also for tied arrays and hashes. That's actually the reason the main
commit is so large.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About