in reply to Re^3: Passing Along Arrays
in thread Passing Along Arrays
Well ultimately I'll be manipulating the data rather than printing it, but yes, you've got the gist of it.
I know readOnly() is working correctly and @contents has the data I want. These pieces have been working and used for some time, which is why this is so perplexing to me.
@projects and its for-loop is the new element here.
Previously I manipulated the data sets one by one, applying the same algorithm to each, one after the other. This was obviously inefficient - I had the same code twice, making updates and maintenance ridiculous.
The @projects for-loop was my solution.
Now I'm just struggling to pass the array containing the data correctly, as you've surmised.
|
---|