in reply to Array 0x

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

Replies are listed 'Best First'.
Re: Re: Array 0x
by cosmicsoup (Beadle) on Nov 04, 2003 at 19:15 UTC
    The dbnextrow() is from the Sybase::Sybperl module. I will check out the Data::Dumper.

    Thanks,
    Louis