Probably because you can accomplish the same with execute(@params) :-)
Ilya
-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 7/13/01 11:34 AM
Subject: Silly question re: bind_param vs: bind_columns
I'm looking at DBI 1.14 and wondering why isn't there a bind_params
method like:
$rc = $sth->bind_params(@refs_to_params); #dies if wrong number of
params
or
$rc = $sth->bind_params(%hash_of_params_with_field_names_or_numbers);
#dies if hash key mismatch
It seems like an obvious idea, so I assume there's a good reason it
hasn't been implemented.
John A