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

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

Thread Previous | Thread Next
Eirik Berg Hanssen
October 17, 2014 17:17
Re: [perl #122947] [EXPERIMENT] Lvalue references
Message ID:
On Fri, Oct 17, 2014 at 6:29 PM, Father Chrysostomos via RT
<> 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 @_" ...)


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