http://qs321.pair.com?node_id=976552


in reply to Alias vs Reference

Some places aliases are used:

See also "alias" in perlglossary and Item 118 "Access the symbol table with typeglobs" in Effective Perl Programming.

Update: added named loop variables in foreach. Thanks Jenda.

Replies are listed 'Best First'.
Re^2: Alias vs Reference
by Jenda (Abbot) on Jun 16, 2012 at 09:53 UTC

    Not just $_ in foreach. Named loop variables in foreach are also aliases.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.