A
alexxx.magni
Hi,
I have to call the method bind_columns() of DBI, with a number of
arguments unknown at runtime: the args are references, each to a
column value
e.g. with 3 args:
$sth->bind_columns(undef,\$a[0],\$a[1],\$a[2]);
or 4:
$sth->bind_columns(undef,\$a[0],\$a[1],\$a[2],\$a[3]);
there is a way to construct this call in a single way, given the
$ncolumns value?
Thank you!
Alessandro
I have to call the method bind_columns() of DBI, with a number of
arguments unknown at runtime: the args are references, each to a
column value
e.g. with 3 args:
$sth->bind_columns(undef,\$a[0],\$a[1],\$a[2]);
or 4:
$sth->bind_columns(undef,\$a[0],\$a[1],\$a[2],\$a[3]);
there is a way to construct this call in a single way, given the
$ncolumns value?
Thank you!
Alessandro