DBIx::ContextualFetch - Use of uninitialized value in subroutine entry

[prev] [thread] [next] [Date index for 2005/02/03]

From: Simon Wistow
Subject: DBIx::ContextualFetch - Use of uninitialized value in subroutine entry
Date: 14:20 on 03 Feb 2005
I've started seeing this in some of my code which I'm pretty sure I 
haven't seen before. 

Use of uninitialized value in subroutine entry at 
/usr/local/perl580/lib/site_perl/5.8.0/DBIx/ContextualFetch.pm line 51.

I don't know if that's a change in my code or someone's upgraded stuff
behind my back. The code which seems to call it is a 

	$class->find_or_create( { ... } );

I've seen references to this which suggest that upgrading to 1.02 might 
fix it (which it didn't) or that it's to do with Perl 5.8.5 (which I 
don't have).

The tests seem to pass ok anyway so is it safe to wrap it an eval or is 
there some known fix?

Any ideas?

Simon

Latest versions of Class::DBI, DBIx::ContextualFetch, DBI, DBI::SQLite 
and

%  perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.19-gentoo-r10, archname=i686-linux
    uname='linux kanga.astray.com 2.4.19-gentoo-r10 #4 sun feb 16 
13:53:08 gmt 2003 i686 celeron (coppermine) genuineintel gnulinux '
    config_args='-ds -e -Dprefix=/usr/local/perl580 -Dcc=gcc'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
    optimize='-O3',
    cppflags='-fno-strict-aliasing'
    ccversion='', gccversion='3.2.1 20021207 (Gentoo Linux 
3.2.1-20021207)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.3.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Feb 22 2003 19:08:20
  @INC:
    /usr/local/perl580/lib/5.8.0/i686-linux
    /usr/local/perl580/lib/5.8.0
    /usr/local/perl580/lib/site_perl/5.8.0/i686-linux
    /usr/local/perl580/lib/site_perl/5.8.0
    /usr/local/perl580/lib/site_perl
    .
 


        -- 
        my ignorance is large - it contains multitudes

(message missing)

DBIx::ContextualFetch - Use of uninitialized value in subroutine entry
Simon Wistow 14:20 on 03 Feb 2005

Generated at 11:20 on 20 Feb 2005 by mariachi v0.52