Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] Quick perl question

From: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
To: bweaver(at)tranquility(dot)net
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] Quick perl question
Date: 2000-03-03 15:48:34
Message-ID: 38BFDED2.79826F40@austin.rr.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
bweaver(at)tranquility(dot)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

In response to

pgsql-interfaces by date

Next:From: Ed LoehrDate: 2000-03-03 15:59:55
Subject: Re: [INTERFACES] Pgaccess - Error trying to connect
Previous:From: John CollinsDate: 2000-03-03 15:16:51
Subject: JDBC connection refused

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group