See $sth->execute() in the DBI manual.

This belongs in dbi-users, not dbi-dev.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 10:34
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
>

Reply via email to