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.
In reply to Re^2: Printing all values of an AoH
by bradcathey
in thread Printing all values of an AoH
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |