in reply to How to share DBI connections between objects?

Apache::DBI transparently upgrades your DBI connections to pooled, persistent connections. No extra work needed.

Personally, I use a small set of 'helper' functions to do database queries. eg:
my @returned = withDB { # In here $_[0] is the database connection # Connection will be closed automatically when this sub exits. # Any exceptions will be caught, database handles # cleaned up, and the exception re-thrown. # Optionally pass 'handle factory' after this block. };

Works well with other functions like:
withDB { forSelect { # $_[0] is a hashref of current row from selection. } shift, $query, \@bindvals; };

I'm not sure if others see this as good/bad/no-style.
I don't use any of the Class::DBI alikes... never found them compelling.

-David