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

Re: [perl #122947] [EXPERIMENT] Lvalue references

Thread Previous | Thread Next
From:
Eirik Berg Hanssen
Date:
October 17, 2014 17:17
Subject:
Re: [perl #122947] [EXPERIMENT] Lvalue references
Message ID:
CAHAeAG4oOBPn+3XFztmtK5xQC2spM4xTVpMAR1nxqz85_B8vnA@mail.gmail.com
On Fri, Oct 17, 2014 at 6:29 PM, Father Chrysostomos via RT
<perlbug-followup@perl.org> wrote:
> On Fri Oct 17 07:31:49 2014, aristotle wrote:
>> What bugs me about `aliasing` just by itself is that it could be
>> referring to so many things.
>
> I can’t think of what else it could be referring to in the context of Perl programming.

  For(each) loop variable ("implicit alias for each item"), glob
assignment ("symbol table aliasing"), @_ ("aliases for the actual
scalar parameters").

  This I might describe as reference assignment, analogous to glob assignment.

  Hey, that's what you called it in the OP.  :)

  ("aliasing via reference assignment", "aliasing via for(each)
loops", "aliasing via glob assignment", "aliasing via @_" ...)


Eirik

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