in reply to Re: Pushing AoH refs into another AoH ref
in thread Pushing AoH refs into another AoH ref

Points well taken. I have amended my code, and it works great. Thanks all.

my ($shows, $allshows); for my $i ( 0 .. $#ids ) { $stmt = "SELECT * FROM shows WHERE type = 2 AND id = '$ids[$i]'"; $sth = $dbh->prepare($stmt); $sth->execute(); push @$allshows, $sth->fetchall_arrayref({}); }

—Brad
"Don't ever take a fence down until you know the reason it was put up." G. K. Chesterton