in reply to DBI question

Sure, if you write the specific driver for you language. Don't know if it helps but that's what you'd need to do for a custom DB.

Might try looking at DBIx::AnyDBD or another DBD for help. Could also check http://dbi.perl.org/.