On Fri, 19 Apr 2002 09:42:32 -0400 [EMAIL PROTECTED] wrote:

> I would change the first argument in bind_columns() to "undef"
> 
> hence
>         $sth->bind_columns( \$statist,\$differ);
> should be written:
>         $sth->bind_columns(undef, \$statist,\$differ);
> 
> I'm not sure why this makes it work better, and I think in some cases
> it's
> not necessary, but it always works for me (using Oracle).

It shouldn't be necessary for any recent version of DBI.  The first
argument was originally reserved for statement attributes.  Eventually Tim
Bunce decided there wouldn't be any for that statement an the first
argument as a hash reference became optional.

--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


Reply via email to