Re: Postgres and Perl: Which DBI module? - Mailing list pgsql-general

From Al Arduengo
Subject Re: Postgres and Perl: Which DBI module?
Date
Msg-id 871y9pko9x.fsf@austin.rr.com
Whole thread Raw
List pgsql-general
I simply used the CGI module. I am sure there are more sophisticated
methods but just using CGI and then standard Perl routines to create a
query string based on the input is easy. Use the print instruction to
output html header info required and then the last thing to do in
the script is simply:

psql -H -c "$string_i_created" -d mydb

Voilla! Nice pretty table.

-Al

jgdon <REMOVEjgdon@ureach.comREMOVE> writes:

> hello,
>
> I just managed to get a simple database running with postgresql.
>
> Now I would like to write some CGI scripts in perl that will be able
> to use it.
>
>
> What perl module should I use for this?
>
> I have found something called DBI ... and found examples for CSV
> databases ... but I am curious what module I should use for postgres
> ...
>
>
> Is there a DBI::Postgres module like DBI::CSV ?
>
> Cheers,
> Jim
>

--
"Place your hand on a hot stove for a  minute and it seems like
an hour. Sit with a pretty girl for an hour and it seems like a
minute. That's relativity."  -Albert Einstein

pgsql-general by date:

Previous
From: "Zeb Fropiaz"
Date:
Subject: help with error: "... is not a column in an inserted table"
Next
From: marcin.jerzy@wp.pl (Marcin)
Date:
Subject: Postgres and J2EE