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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Ed Loehr | 2000-03-03 15:59:55 | Re: [INTERFACES] Pgaccess - Error trying to connect |
Previous Message | John Collins | 2000-03-03 15:16:51 | JDBC connection refused |