Keep It Simple, Stupid | |
PerlMonks |
Argument list item alias-ingby Ido (Hermit) |
on Apr 16, 2003 at 10:47 UTC ( [id://250834]=perlquestion: print w/replies, xml ) | Need Help?? |
Ido has asked for the wisdom of the Perl Monks concerning the following question: Will, obviously, not work, as it tries to modify a read-only value. Same is the case with:
But: Will run. Which is weird, as $_ is an alias to $_[0] which is an alias to a readonly value. $_[0] won't change, but $_ will, which is again weird, as $_ should be an alias to it. Can someone clarify what's going on to me?
Back to
Seekers of Perl Wisdom
|
|