On Thu, Apr 10, 2008 at 10:47:32PM -0800, Douglas Wilson wrote: > On Thu, Apr 10, 2008 at 3:36 PM, Tim Bunce <[EMAIL PROTECTED]> wrote: > > On Thu, Apr 10, 2008 at 11:15:30AM -0700, Douglas Wilson wrote: > > > > Are you *certain* that that code is running with DBI 1.602? > > Try adding a print of $DBI::VERSION. > > Yes, I am certain. This is a new install (and I checked versions again).
Did you build a fresh copy of DBD::Sybase after upgrading DBI? To get this fix you'd need to do that. Probably worth retrying, just to be sure. Tim. > One difference between this and the problem that the 1.57 version > fixed is that here the error is only on the second selectrow_array call. > The first call works fine. > > Something is maybe changing the statement handle? > > > > > If you are stuck on an old DBI version try something like this as > > a workaround: > > > > sub DBI::st::DELETE { my ($h, $key) = @_; delete $h->{$key} } > > Well, that works...but explicity doing execute, fetchrow_array, and finish > works also. (BTW selectall_arrayref displays the same problem of course).