Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 41A324763D2 for ; Thu, 9 May 2002 10:23:26 -0400 (EDT) Received: from www.optimumdigital.com (unknown [64.245.24.5]) by postgresql.org (Postfix) with ESMTP id 45E7D4763E9 for ; Thu, 9 May 2002 10:12:19 -0400 (EDT) Received: from xaymaca.com ([63.115.42.161]) by www.optimumdigital.com (8.11.6/8.11.6) with ESMTP id g49E5eH23735 for ; Thu, 9 May 2002 10:05:40 -0400 Message-ID: <3CDA83BB.5000006@xaymaca.com> Date: Thu, 09 May 2002 10:12:11 -0400 From: Vincent Stoessel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0+) Gecko/20020505 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: escaping arrays in perl dbi Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200205/76 X-Sequence-Number: 7712 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