Re: [INTERFACES] Quick perl question

Поиск
Список
Период
Сортировка
От Ed Loehr
Тема Re: [INTERFACES] Quick perl question
Дата
Msg-id 38BFDED2.79826F40@austin.rr.com
обсуждение исходный текст
Ответ на Quick perl question  (bweaver@tranquility.net)
Список pgsql-interfaces
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


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: John Collins
Дата:
Сообщение: JDBC connection refused
Следующее
От: Ed Loehr
Дата:
Сообщение: Re: [INTERFACES] Pgaccess - Error trying to connect