in reply to Re^2: Pass by Value does not work
in thread Pass by Value does not work

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.)

Replies are listed 'Best First'.
Re^4: Pass by Value does not work
by swampyankee (Parson) on Feb 21, 2009 at 15:01 UTC

    Your supposition makes perfect sense to me, and it was something I didn't even think of.


    Information about American English usage here and here. Floating point issues? Please read this before posting. — emc