Re: Postgres and Perl: Which DBI module?

Поиск
Список
Период
Сортировка
От Al Arduengo
Тема Re: Postgres and Perl: Which DBI module?
Дата
Msg-id 871y9pko9x.fsf@austin.rr.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Zeb Fropiaz"
Дата:
Сообщение: help with error: "... is not a column in an inserted table"
Следующее
От: marcin.jerzy@wp.pl (Marcin)
Дата:
Сообщение: Postgres and J2EE