escaping arrays in perl dbi - Mailing list pgsql-sql

From Vincent Stoessel
Subject escaping arrays in perl dbi
Date
Msg-id 3CDA83BB.5000006@xaymaca.com
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: Bolek Bakowski
Date:
Subject: Re: Connection to multiple databases
Next
From: Tod McQuillin
Date:
Subject: Re: escaping arrays in perl dbi