|Pathologically Eclectic Rubbish Lister|
Re: multidimensional array'sby LanX (Bishop)
|on Dec 27, 2012 at 20:50 UTC||Need Help??|
I didn't really understand the context but for the following line
$results[$loopcount]  = (@$row); THIS LINE IS NOT WORKING.
can't work, since you can't assign an @array-list to an array element¹, only scalars (simple or references)
in your case you have the option between
$results[$loopcount] = $row
which copies references
$results[$loopcount] = [@$row]
which creates a new array-reference with elements copied (one-level deep)
While ignoring the rest of your post I hope this helps! =)
¹) well you won't get an error here, because Perl will take the size of the array in scalar context.