> i  need to build the bind_column syntax dynamically because i dont know 'a
> priori' how  many fields there are in a table. i  have a routine that
> creates an array with the fields. now  knowing that i have  n fields i can
> build a bind for n  fields  for futher use  in a select * statement.
> 
How about this way?

my $fields = " . "\\" . '$f1data, ' . "\\" . '$f2data, "\\" . '$f3data;
$sth->bind_columns($fields);

Cheers :)



-- 
This message has been scanned for viruses and dangerous content by 
host-center.net and is believed to be clean.

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to