in reply to Re^2: Why does the first $c evaluate to the incremented value in [$c, $c += $_] ? (alias)
in thread Why does the first $c evaluate to the incremented value in [$c, $c += $_] ?
I understand why aliasing involved when calling function
But why it's also involved when composing a list?mysub($c, $c+=1)
for consistency with function calls? Where is documented?@a = ($c, $c+=1)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Why does the first $c evaluate to the incremented value in [$c, $c += $_] ? ("undefined")
by tye (Sage) on Mar 05, 2014 at 16:49 UTC | |
by oiskuu (Hermit) on Mar 05, 2014 at 19:31 UTC | |
by tye (Sage) on Mar 05, 2014 at 20:09 UTC | |
by oiskuu (Hermit) on Mar 05, 2014 at 21:00 UTC | |
by Anonymous Monk on Mar 06, 2014 at 03:00 UTC | |
by tye (Sage) on Mar 05, 2014 at 21:45 UTC |
In Section
Seekers of Perl Wisdom