in reply to hash key lookups failing
I'm not sure I follow all that, but you are misusing fetchall_arrayref(). It's an AoAref. Does this do what you want?
I'm sure thare's a slicker way to deref the field you want.my $keys = $count_stmnt->fetchall_arrayref(); my @vals = map {$_->[0]} @{$keys};
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: hash key lookups failing
by ralphie (Friar) on Nov 11, 2001 at 02:39 UTC | |
by Aristotle (Chancellor) on Nov 11, 2001 at 08:04 UTC |