At 21:51 +0200 9/22/02, Thoenen, Peter Mr. EPS wrote:
>Following this conversation myself (also a perl db newbie :) ... before
>always just used php) and curious if you know definitely what db vendor you
>are going to be using (mysql in this case), any reason to use dbi; as
>opposed to just using vendor specific or net::mysql; . Is it just a
The reason to use DBI is that you can't use *any* of the vendor specific
DBD-level drivers without it. It's not an either-one-or-the-other question.
It's both or neither.
DBI is useless without at least one driver for connecting to a specific
DBD::<vendor> is useless without DBI; Perl scripts don't communcate directly
with DBD drivers. They communicate with DBI, which speaks to the database
through the driver.
Haven't used Net::MySQL, so cannot comment on that.