in reply to Re^2: Why do I get this error?
in thread Why do I get this error?
$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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why do I get this error?
by Anonymous Monk on May 12, 2014 at 01:02 UTC |