pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ed Loehr <eloehr@austin.rr.com>
To: bweaver@tranquility.net
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] Quick perl question
Date: Fri, 03 Mar 2000 09:48:34 -0600
Message-ID: <38BFDED2.79826F40@austin.rr.com> (raw)
References: <200003030527.XAA10371@tranq1.tranquility.net>

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



view thread (6+ messages)  latest in thread

Message-ID: <38BFDED2.79826F40@austin.rr.com>
Permalink:  ../38BFDED2.79826F40@austin.rr.com/
Also on:    postgresql.org/message-id/38BFDED2.79826F40@austin.rr.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: eloehr@austin.rr.com, bweaver@tranquility.net
  Subject: Re: [INTERFACES] Quick perl question
  In-Reply-To: <38BFDED2.79826F40@austin.rr.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox