I want to know what is the easy and simple way to access mysql database. I'm using Windows. Also I should be able开发者_StackOverflow社区 to easily install using Active Perl's perl package manager.
Install DBI and DBD::mysql
For DBD::mysql for ActiveState, have a look at :
http://dev.mysql.com/doc/refman/5.0/en/activestate-perl.html
and
http://code.activestate.com/ppm/DBD-mysql/
As M42 has said, DBI and DBD::mysql should be the basis of any work that needs to talk to a MySQL database.
But I'd go further than that and recommend that you look at DBIx::Class as an easy way to get data from (and into) a database.
精彩评论