You're getting references back instead of the actual array. You could visually check the data structure you get back using Data::Dumper to see how the data is actually stored and then redo the code as needed.
Where do you get dbnextrow() from? It's not in the DBI documentation. I suspect what you actually want is $dbh->fetchrow_array().
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
In reply to Re: Array 0x
by hardburn
in thread Array 0x
by cosmicsoup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |