What problem are you having? Is there an error message? What
driver/database? What version of perl? Include some of the code that is
failing. 

When you bind a parameter, (bind_param) it allows for an optional SQL
type. See the perldoc DBI

Tom

On Wed, Jun 12, 2002 at 08:26:25AM +0200, Terje Kristensen wrote:
> I had a DBI related perl problem today.
> 
> I had an array containing strings $test = ['a','b','c'];
> then by mistake i used a numeric compare on one of the values
> do_something if $test->[1] == 1;
> 
> after this the $test->[1] value is numeric ?? and DBI (selectall_hashref)
> thought it was a number and didnt quote it (i used bind values)
> 
> is this a bug or a feature ??

-- 
Thomas A. Lowery
See DBI/FAQ http://xmlproj.dyndns.org/cgi-bin/fom

Reply via email to