> -----Original Message----- > From: Tim Bunce > Sent: 07 June 2004 21:53 > > On Mon, Jun 07, 2004 at 12:06:48PM +0100, Dan Hopkins wrote:
> > while (.... = $sth->fetch*...) > > > > loops all fail on the final iteration with: > > > > "Use of uninitialized value in subroutine entry at > <myscript>.pl line > > <whatever> > > DBD::Oracle::st fetchrow_array warning: [for Statement <mySQL>] at > > <myscript.pl> line <whatever>" > > > > -> fetch for DBD::Oracle::st (DBI::st=HASH(0x2a3480)~0x1fc6e8) > > !! warn: 0 undef (err#0) > > <- fetch= undef row1 at DBI.pm line 1478 > > For some reason the err value for the handle is being set to zero > (instead of being left as undef) when there's no apparent error. > But I can't see a code path that would act in that way. > > [Please send a level 9 trace to me, not the list. Thanks.] Any minute now... > Meanwhile turing off PrintWarn should silence it. Thanks, that's the first time I've come across that. > > Compiling 1.15 against Oracle 7.3.4 libs fails > > > > Oracle.c:1165: error: `OCILobLocator' undeclared (first use > in this function) > > You have to use "perl Makefile.PL -8" to build using Oracle 7 OCI. > But that's history now as the next release doesn't support > Oracle 7 at all. Thanks again - and apologies, I should have investigated that one a bit more. -- Dan
