You might want to look into DBIx::AnyDBD too. It allows you to write a database indendent module that can be subclassed for different DBD's.
You write generic top-level methods for your module and allow these to be overridden by your DBD specific subclasses - nice. Your base class would probably be abstract. -- Simon Oliver > On Sun, Oct 21, 2001 at 03:12:01PM -0700, Jason W May wrote: > > I'm working on a module that I hope will provide a similar function for SQL > > code that the various templating modules provide for HTML generation. > > > > The goal is to move SQL code entirely out of the Perl, and to provide a very > > straightforward means of executing the SQL statements that are maintained in > > separate files. > >