Re: [INTERFACES] Quick perl question - Mailing list pgsql-interfaces

From Ed Loehr
Subject Re: [INTERFACES] Quick perl question
Date
Msg-id 38BFDED2.79826F40@austin.rr.com
Whole thread Raw
In response to Quick perl question  (bweaver@tranquility.net)
List pgsql-interfaces
bweaver@tranquility.net wrote:
> 
> Hey all,
> 
> I probably totally missed the docs on it, but I put PostgreSQL on
> my FreeBSD 3.4 box and I wanted to use some CGI scripts written
> in perl.  I installed Postgre 6.5.3 using the commands 'make
> USE_PERL=yes' and then 'make install'.  The installation is fine,
> but when I tried to make perl scripts using the Pg.pm library, I keep
> getting a "Can't locate Pg.pm in @INC..."
> 
> I'm using perl5.  Did I do something in the installation incorrectly?

This probably doesn't answer your immediate question, but it might
render it irrelevant.  You may want to look into the perl DBI module
at CPAN along with DBD::Pg.  DBI is very clean and is the standard
means for accessing RDBMS (including postgres) from perl.

Cheers,
Ed Loehr


pgsql-interfaces by date:

Previous
From: John Collins
Date:
Subject: JDBC connection refused
Next
From: Ed Loehr
Date:
Subject: Re: [INTERFACES] Pgaccess - Error trying to connect