Received: from mail.austin.rr.com (sm1.texas.rr.com [24.93.35.54]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA28184 for ; Fri, 3 Mar 2000 10:45:30 -0500 (EST) (envelope-from eloehr@austin.rr.com) Received: from austin.rr.com ([24.93.58.117]) by mail.austin.rr.com with Microsoft SMTPSVC(5.5.1877.197.19); Fri, 3 Mar 2000 09:46:16 -0600 Sender: ed Message-ID: <38BFDED2.79826F40@austin.rr.com> Date: Fri, 03 Mar 2000 09:48:34 -0600 From: Ed Loehr X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.12-20smp i686) X-Accept-Language: en MIME-Version: 1.0 To: bweaver@tranquility.net CC: pgsql-interfaces@postgresql.org Subject: Re: [INTERFACES] Quick perl question References: <200003030527.XAA10371@tranq1.tranquility.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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