On Sunday 31 October 2004 10:06 am, Tim Bunce wrote:
> On Sat, Oct 30, 2004 at 10:23:46AM -0400, Marc M. Adkins wrote:
> > On Thursday 14 October 2004 05:20 am, Tim Bunce wrote:
> > > On Wed, Oct 13, 2004 at 04:33:14PM -0400, Marc M. Adkins wrote:
> > > > I have been getting an annoying warning about dereferencing an
> > > > unreferenced scalar.
> > > >
> > > > Here's the punch line:  it doesn't happen unless I use
> > > > fetchall_hashref().
> > >
> > > It's fixed in the (as yet unannounced) DBI 1.45 release.
> > > In fact I'll go make the announcement now...
> >
> > After some false starts I've finally gotten DBI 1.45 from the ActiveState
> > PPM repository.  I'm still having the same thing happen (I can send my
> > test program again if necessary).  I tried two separate W2K systems.  It
> > only shows up using File::Copy after fetchall_hashref().  Weird.
>
> Very. Can you trim your test script down further? Then try other drivers?
> (To isolate if it's a DBI or DBD::ODBC issue.)

The test script is as trim as it gets.  The original body of code is 50K+ 
lines (real lines, not comments or white space) of Perl code in a network of 
interlocking scripts and modules.  What I've posted is as simple as I could 
make it.

It requires the combination of File::Copy and fetchall_hashref().  Hey, the 
problem may not be in DBI.  But I can't duplicate it without both.  Believe 
me, I spent some time on this before posting.

I tried it on Linux w/mySQL.  That's the only other combination to which I 
have easy access.  I was unable to duplicate the behavior.  My work 
environment is very restricted and I don't do Windows at home any more (free 
the lemmings!).

mma

Reply via email to