Hi,
can anybody address me to online resources to learn how to connect to a
PostgreSQL DB server through a Perl script?
Code examples are welcome ;-)
TIA
Mariano
-
Mariano Cunietti
System Administrator
Enter S.r.l.
Via Stefanardo da Vimercate, 28
20128 - Milano - Ital
On Feb 1, 2005, at 11:21 AM, Mariano Cunietti wrote:
Hi,
can anybody address me to online resources to learn how to connect to a
PostgreSQL DB server through a Perl script?
http://www.perl.com/pub/a/1999/10/DBI.html
http://search.cpan.org/~timb/DBI/DBI.pm
http://search.cpan.org/~rudy/DBD-Pg-1.32/Pg
> Hi,
> can anybody address me to online resources to learn how to connect to a
> PostgreSQL DB server through a Perl script?
> Code examples are welcome ;-)
> TIA
>
- begin perl code ---
#!/usr/bin/perl
use strict;
use warnings;
use DBI;
our $_db
Did you have already check the compile process of the Perl Module that
provides access to Postgres?
If you have do it. Then my code might help you
use DBI;
use diagnostics;
use strict;
my $database="Database";
my $username="postgres";
my $password="123";
my ($mbd, $sth1);
$mbd = DBI->connect("dbi
have the Perl static
installed and linked.. Right or
wrong??
So I installed the above DBD and DBI
after the PostgreSQL install..
Question ?? Do I have to do anything
else to get Perl and PostgreSQL
to work together.. Such as another
Perl Library or a Link..??
Bob T
--
To unsubscribe, e-mail