Re: 2d array in sub

2007-09-04 Thread Tom Phoenix
On 9/4/07, James <[EMAIL PROTECTED]> wrote: > My issue is that I can get the sub working fine, iterating though the 2d array > correctly until I put a return statement in. Once I put the return statement > in, the sub only reads one slice of the 2d array, thus not returning a > correctly updated

2d array in sub

2007-09-04 Thread James
I'm writing a sub that take as input, references to a 2d array and a hash-of- arrays. The 2d array never changes but I operate on and return an updated hash-of-arrays. My issue is that I can get the sub working fine, iterating though the 2d array correctly until I put a return statement in. O