Thread: Connecting to an External DB (repost)

Connecting to an External DB (repost)

From
"Hale"
Date:
how do I connect to an external postgresql db on ip 1.2.3.4 using DBI and
perl?  any other ways to do it in perl?



Re: Connecting to an External DB (repost)

From
Richard Huxton
Date:
Hale wrote:
> how do I connect to an external postgresql db on ip 1.2.3.4 using DBI and
> perl?  any other ways to do it in perl?

perldoc DBD::Pg
perldoc DBI

The "perldoc" command offers access to all of Perl's built-in
documentation as well as almost all modules too.

There's always more than one way to do it in Perl - you don't say what's
wrong with DBI though

--
   Richard Huxton
   Archonet Ltd