$elem is an array ref, you can also call it $a_ref or whatever explains best the content ($a_row for instance)
> How can I use join?
like shown, did you notice the @ in front of @$elem, it dereferences the array ref.
> Also, if you use foreach, doesn't it mean that you lose the order of elements?
Nope! Try it out...
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re^3: Why do I get this error?
by LanX
in thread Why do I get this error?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |