Re: [NOVICE] Help needed with pg.pm to connect to postgresql

From: Jesus Aneiros <aneiros(at)jagua(dot)cfg(dot)sld(dot)cu>
To: Kisala Muhavi <ayuma(at)email(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] Help needed with pg.pm to connect to postgresql
Date: 2000-11-05 14:44:27
Message-ID: Pine.LNX.4.10.10011050942290.13789-100000@jagua.cfg.sld.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

You have 2 small mistake that I point below.

On Sat, 4 Nov 2000, Kisala Muhavi wrote:

> #!/usr/local/bin/perl
> #
> #perl sample program
>
> use pg;
use Pg;
>
> $conn =pg::connectdb("dbname=test");
> die $conn->errorMessage unless PGRES_CONNECTION_OK eq $conn->status;
>
> print "Enter User name :"
print "Enter User name:";

The rest compiles OK

--
Jesus Aneiros Sosa
mailto:aneiros(at)jagua(dot)cfg(dot)sld(dot)cu
http://jagua.cfg.sld.cu/~aneiros

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albert REINER 2000-11-05 15:18:36 Re: Help needed with pg.pm to connect to postgresql
Previous Message hubert depesz lubaczewski 2000-11-05 11:48:59 Time penalty on VIEWS on VIEWS

Browse pgsql-novice by date

  From Date Subject
Next Message Albert REINER 2000-11-05 15:18:36 Re: Help needed with pg.pm to connect to postgresql
Previous Message Kisala Muhavi 2000-11-04 14:40:51 Help needed with pg.pm to connect to postgresql