escaping arrays in perl dbi

Поиск
Список
Период
Сортировка
От Vincent Stoessel
Тема escaping arrays in perl dbi
Дата
Msg-id 3CDA83BB.5000006@xaymaca.com
обсуждение исходный текст
Ответы Re: escaping arrays in perl dbi  (Tod McQuillin <devin@spamcop.net>)
Re: escaping arrays in perl dbi  (Ian Barwick <barwick@gmx.net>)
Re: escaping arrays in perl dbi  (Andrew Perrin <aperrin@email.unc.edu>)
Список pgsql-sql
Hello All,
I am trying to figure out how I need to change the string below in
order to do an insert into my table using perl dbi. perl seems to choke
on the curly brackets. Any help would be appriciated.
Thanks.


$dbh->do("update basket set f_order ='{"apple",0}' where cap ='I'");


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



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

Предыдущее
От: Bolek Bakowski
Дата:
Сообщение: Re: Connection to multiple databases
Следующее
От: Tod McQuillin
Дата:
Сообщение: Re: escaping arrays in perl dbi