... my @sheets; my @column = split /(\s)+/, $line; @sheets1 = @column;In this example, @column is the one-dimensional array and @sheets is the two-dimensional array. Howerver, this doesn't quite work the way I would expect. I don't want to have to resort to nested for loops if I can help it. Figured there should be some simple syntax for doing this. I'm having difficulty finding examples of this on Google. Any advice is much appreciated. Thanks for reading. Joe
In reply to One Dimensional Array into Two by JoeJaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |