Re: Mysql::Simple?
From: Brian McCauley (nobull_at_mail.com)
Date: 01/31/04
- Previous message: Dan Bolser: "Re: Spamassassin False positive increase"
- In reply to: Dan Bolser: "Re: Mysql::Simple?"
- Next in thread: Stefan Ram: "Re: Mysql::Simple?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Jan 2004 13:42:41 +0000
Dan Bolser <dmb@mail.mrc-dunn.cam.ac.uk> writes:
> On Thu, 29 Jan 2004, kz wrote:
>
> > "Dan Bolser" <dmb@mail.mrc-dunn.cam.ac.uk> wrote in message
> > news:Pine.LNX.4.21.0401291309300.24595-100000@mail.mrc-dunn.cam.ac.uk...
> > >
> > > Hello, I have a pet module called Mysql::Simple, would anyone be
> > > interested in making it a CPAN module? It doesn't do much (mostly
> > > concerned with connection), and I am lazy,but I guess CPAN is the best
> > > home for my pet?
> >
> > What extra features would your module offer what you can't (simply) do with
> > DBI? I wouldn't reinvent the wheel...
> My (simple) way you say...
>
> use Mysql::Simple 'doQuery';
>
> doQuery("anything you like");
>
> __END__
>
> The module reads config files from standard places, and also does a
> GetOptions passthrough to interpret standard mysql options, finally it
> does Term::ReadPassword if it can't find a password. I still need to make
> it work with standard DBI environment variables, but it is no bigie.
Sounds to me like your module is a wrapper for DBI just like
LWP::Simple is for LWP::UserAgent.
In that case I think your module belongs in DBIx not Mysql.
I have no view one way or the other on if DBI actually needs such a
wrapper.
--
\\ ( )
. _\\__[oo
.__/ \\ /\@
. l___\\
# ll l\\
###LL LL\\
- Previous message: Dan Bolser: "Re: Spamassassin False positive increase"
- In reply to: Dan Bolser: "Re: Mysql::Simple?"
- Next in thread: Stefan Ram: "Re: Mysql::Simple?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|