Extensions to the DBI live in the DBIx:: namespace. There are many modules that also aim to provide a simplified interface to the DBI. Please compare yours with them and, if you think yours offers significant new functionality over any of them, please resubmit with a new (better) name in the DBIx::* namespace.
Thank you. Tim. On Tue, Aug 05, 2003 at 01:17:52AM +0200, Perl Authors Upload Server wrote: > > The following module was proposed for inclusion in the Module List: > > modid: DBI::Simple > DSLIP: bdpOg > description: Simple DBI connection and query execution. > userid: SMCMURRAY (Sean McMurray) > chapterid: 7 (Database_Interfaces) > communities: > > similar: > > rationale: > > I named it 'Simple' because it reduces DBI to two calls: new and > execute. e.g.: > > $db = new DBI::Simple 'mysql.conf'; if (@rows = > $db->execute("select id from emp where name='Bill'")){ foreach > (@rows){ $db->execute("delete from emp where id=?", $_); } } > $db->execute("insert into emp(name) values('Bill')"); > > I think this module belongs in the DBI namespace because it spans > DBD modules. The conf file is a small XML file that holds the name > of your DBD, and whatever parameters you wish to pass to that DBD. > > enteredby: SMCMURRAY (Sean McMurray) > enteredon: Mon Aug 4 23:17:52 2003 GMT > > The resulting entry would be: > > DBI:: > ::Simple bdpOg Simple DBI connection and query execution. SMCMURRAY > > > Thanks for registering, > -- > The PAUSE > > PS: The following links are only valid for module list maintainers: > > Registration form with editing capabilities: > > https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=3a300000_9100e073e5869d38&SUBMIT_pause99_add_mod_preview=1 > Immediate (one click) registration: > > https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=3a300000_9100e073e5869d38&SUBMIT_pause99_add_mod_insertit=1