Solution :
Perl packages enabling your Perl scripts to create and modify databases in standard Unix formats. Perl programmers, like programmers of any other language, typically need to store large amounts of data. Even
though Perl is an exceptional language for text processing, in many circumstances, a more structured
database-like format offers quicker access. In addition, it may also be necessary for a Perl script
to read or write a database that is also accessed through a C program.
Here is the very simple script of perl database connection. The database can be Oracle, Mysql etc etc.
use DBI;
$dbh = DBI->connect("dbi:mysql:xyz", $username, $password)
or die $DBI::errstr;
Perl packages enabling your Perl scripts to create and modify databases in standard Unix formats. Perl programmers, like programmers of any other language, typically need to store large amounts of data. Even
though Perl is an exceptional language for text processing, in many circumstances, a more structured
database-like format offers quicker access. In addition, it may also be necessary for a Perl script
to read or write a database that is also accessed through a C program.
Here is the very simple script of perl database connection. The database can be Oracle, Mysql etc etc.
use DBI;
$dbh = DBI->connect("dbi:mysql:xyz", $username, $password)
or die $DBI::errstr;