in reply to Multi dimentions to a single dimentional array

Like ikegami said, The array you created contains 3 scalars. Each scalar is really a reference to an array. Multi-dimensional arrays do not really exist; perl does allow arrays of arrays which is what you have created and which requires slightly more complex inspection.

Seems like you have to skim the first item from each inner array and the previous posts have done a good job of posting solutions.

  • Comment on Re: Multi dimentions to a single dimentional array