in reply to Re^2: The @_ array and the lexical variables
in thread The @_ array and the lexical variables

No, it's the magic behind @_ and calling a subroutine that causes the aliasing. Normal arrays don't alias.

Another aliasing construct if for:

my $x = 1; for my $y ($x) { $y++; } print $x; # 2

See also Data::Alias .

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^4: The @_ array and the lexical variables
by G4143 (Novice) on Apr 16, 2018 at 12:08 UTC
    OK. Thanks for the clarification.