in reply to Re: Printing all values of an AoH
in thread Printing all values of an AoH
Of course, Data::Dumper is great for development, but I was looking for a something to run within the actual script. As in:
$stmt = qq/SELECT * FROM table WHERE id IN (/ . join(',', ('?') x $categories ) . qq/)/; $sth = $dbh->prepare($stmt); $sth->execute($categories);
where $categories is a ref to an AoH, and there is only one key name.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Printing all values of an AoH
by CountZero (Bishop) on Oct 16, 2004 at 20:59 UTC |