So I have a project I'm working on, and I'm having some difficulty. What I'm trying to do is to have several arrays of differing length which are stored in a master array. So, say I have @a1, @a2, and @a3 and I want to store them in @M. or
@M=(@a1,@a2,@a3)
but then I'd also like to be able to make changes to the arrays in the master array and apply functions to them just like I would any array.
&subfunc(@M[0])
for instance. For this, I'd like to do some subroutine on the first array in the master array. but I'm a bit lost. What should I do?