in reply to Multiple references pointing to the same memory location
Without having seen anymore of your code, it also looks like you might want to bind some variables. Anytime you are iterating over an execute statement, binding is usually the way to go rather than rebuilding and repreparing with different variables.for my $key (@keys) { $sth->execute($key); my @columns = $sth->fetchrow(); push(@entries, \@columns); }
|
|---|