Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Answer: What modules do I need to connect Perl to MySQL

by BBQ (Deacon)
on Apr 19, 2000 at 21:22 UTC ( #8059=categorized answer: print w/replies, xml ) Need Help??

Q&A > database programming > What modules do I need to connect Perl to MySQL? - Answer contributed by BBQ

On a side note:
There are two methods of using Msql-Mysql-modules. You can use it as DBD::mysql (as btrott pointed out), or you can use it in native mode.

Although you may feel tempted to, I would recommend against using it in native mode. Sure you get a few new features like $sth->query() without having to prepare() and execute(), but in the long run it prooves to be a bad habbit since you can't easily port your applications to other DBMS's...

Cheers.

  • Comment on Answer: What modules do I need to connect Perl to MySQL
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[beech]: compare MANIFEST.SKIP
[stevieb]: cheers beech. twas totally my mistake, and I got bit. When things work for so long without issue, one becomes complacent (ie. replace we/one with I ;) I've been copy/pasting that around for a few years without a hiccup, so when...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-07-25 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (383 votes). Check out past polls.