Perl Language Tutorial:

Perl Language Simple interaction with database via DBI module

Parameters

ColumnColumn
$driverDriver for DB, "Pg" for Postgresql and "mysql" for MySQL
$databaseyour database name
$useridyour database id
$passwordyour database password
$queryput your query here, ex: "select * from $your_table"

Perl Language Simple interaction with database via DBI module Examples:

Related Perl Language Tutorial Topics:

Other Tutorial Topics:

This modified content is an extract of the original Stack Overflow Documentation released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow. This topic was created and modified by the Stack Ovedrflow Contributor.