|Just another Perl shrine|
Re: multi-dimensional arrays, dereferencingby thinker (Parson)
|on Aug 08, 2003 at 12:12 UTC||Need Help??|
As an aside, and this is merely a matter of style, your method of doing what you want to do is very verbose.
I would choose to write it as
taking advantages of some of some not so intuitive Perl idioms, like using @$_ to dereference each array, and the fact that "@array" will join the elements of @array with $", which is a space by default. And it saves you printing an extra space character at the end of each line :-)
In the spirit of TMTOWTDI