From: | "Henrik Steffen" <steffen(at)city-map(dot)de> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | boolean 't' 'f' vs. '1' '0' - perl question |
Date: | 2002-12-31 14:18:08 |
Message-ID: | 018001c2b0d7$712013a0$7100a8c0@henrik |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
(excuse me, if it's a little off topic)
hello all,
I am just trying to (finally) upgrade from Pg.pm to
DBI (DBD::Pg) ...
I encounter the following problem:
Until today, Pg.pm delivered a 't' or a 'f' for
true or false boolean values.
Since the upgrade, DBI delivers a '1' or a '0'.
This is a problem for me, because of hundred thousands
lines of code containing many many comparisons in perl
like: if ($member eq "t") { foo; } -- which I really
don't fance to change one by one...
Question: Does anyone know if there's possibly a
parameter to set to tell DBI to deliver 't' and 'f'
instead of '1' and '0' ?
thanks,
happy new year ;-))
--
Mit freundlichem Gruß
Henrik Steffen
Geschäftsführer
top concepts Internetmarketing GmbH
Am Steinkamp 7 - D-21684 Stade - Germany
--------------------------------------------------------
http://www.topconcepts.com Tel. +49 4141 991230
mail: steffen(at)topconcepts(dot)com Fax. +49 4141 991233
--------------------------------------------------------
24h-Support Hotline: +49 1908 34697 (EUR 1.86/Min,topc)
--------------------------------------------------------
Ihr SMS-Gateway: JETZT NEU unter: http://sms.city-map.de
System-Partner gesucht: http://www.franchise.city-map.de
--------------------------------------------------------
Handelsregister: AG Stade HRB 5811 - UstId: DE 213645563
--------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Haworth | 2002-12-31 15:11:27 | Re: boolean 't' 'f' vs. '1' '0' - perl question |
Previous Message | Roberto Carrer | 2002-12-31 13:22:18 | psql:relocation error:psql:unfefined symbol: PQgetssl |