Unix news is nothing but opensourse - this site features general information about Linux/Unix/Perl programming language.
Wednesday, April 09, 2008
Database Programming with Perl
To connect to a database with the DBI, we need to first construct a string that identifies the database we want to connect to; this is called a data source name, or DSN. Let's assume we're going to be working with a MySQL database called "phonebill." (Simply because that's what I was working with yesterday.) The DSN for this is made up of three parts... more...