On 12/1/05 7:17 PM, Todd Hepler wrote: > Basically I'm looking for something like this snippet: > > @[EMAIL PROTECTED] = (); > $sth->bind_columns(map { \$results{$_} } @fields); > > wrapped in a nice little interface.
Just an unrelated tip: the above can be done a bit more idiomatically (and probably a teeny bit faster) like this: $sth->bind_columns([EMAIL PROTECTED]@fields}); -John