Gabriel Millerd wrote:
> problem is that this function seems to (under mod_perl) duplicate the
> rows that i pass to it (although it sorts all of them wonderfully).
Read the mod_perl docs on using $dbh->connect() and $dbh->disconnect()
under mod_perl. I suspect your connect statement should be outside the
sub and that you should eliminate the disconnect statement.
> while( my (@cells) = $sth->fetchrow_array) {
> push(@body, \@cells);
> }
> $sth->finish();
You don't need the finish() statement here, see the DBI docs.
Also, BTW, I've updated and greatly expanded DBD::Ram and renamed it
DBD::AnyData, you may want to switch over though it has nothing to do (I
believe) with your current problem.
--
Jeff