The DBI Module
Using Perl, as with Php or Java, we can access Oracle or
MySQL databases. We will use MySQL.
Perl uses the module DBI to access databases and write applications.
DBI stands for Database independent interface It work as an
interface between the perl script and the databases (MySQL, Oracle
or Informix).
This module sets methods and variables ragarding the SQL commands
from Perl via an API (Application Programming Interface).
If this module doesn't come with the installed Perl, just
download it from CPAN.org,
including its driver DBD::mysql. We can check the installation
by performing the following uder the command line:
C:> ppm
(ppm remove "Module", ppm install "Module" can be also used).
|