I suppose the OP was thinking that - due to the @ali = @_ - the entire data structure would be copied... And the "pass by value" was probably referring to left_triangle(@xx) vs. left_triangle(\@xx) — with the "values" being the array refs. (Only the OP can tell for sure, though, what his/her expectation had been.)
In reply to Re^3: Pass by Value does not work
by almut
in thread Pass by Value does not work
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |