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

From Karan Bhalla
Subject Re: [INTERFACES] Quick perl question
Date
Msg-id 20000306113747.81615.qmail@hotmail.com
Whole thread Raw
List pgsql-interfaces
Hi there,I agree that you should be using DBI...
That would help you use the same perl scripts for connecting to any other 
SQL compliant RDBMS with only the change of the DBD , table , user names.
Also you would'nt have to remember how to connect to different databases.

As far as your immediate problem is concerned.... I think you will be
getting a list of paths in @INC ... you should place your PG.pm file
in that list of paths..and all will end well..

CHEERS!!


>From: bweaver@tranquility.net
>To: pgsql-interfaces@postgreSQL.org
>Subject: [INTERFACES] Quick perl question
>Date: Thu, 2 Mar 2000 23:25:07 -0600
>
>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?
>
>An example script would be:
>
>#!/usr/bin/perl5 -w
>
>use Pg;
>
># then the rest of the script goes here.
>
>Thanks in advance,
>
>-Ben
>
>************
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



pgsql-interfaces by date:

Previous
From: Rob Brown-Bayliss
Date:
Subject: Basic beginner question
Next
From: Jaume
Date:
Subject: mapping (jdbc)