David Naughton ha scritto:
> On Thu, Jan 13, 2005 at 12:15:38PM +0100, Marcello wrote:
>
>>Dave Howorth ha scritto:
>>
>>>Marcello wrote:
>>>
>>>
>>>>Use of uninitialized value in subroutine entry at
>>>>/usr/lib/perl5/site_perl/5.8.5/DBIx/ContextualFetch.pm line 51.
>>>
>>>
>>>There was a thread over on cdbi-talk at groups.kasei.com that seems to be
>>>about this. The title was 'DBIx::ContextualFetch trouble'. It starts at:
>>>http://blog.gmane.org/gmane.comp.lang.perl.modules.class-dbi/day=20041227
>>>
>>>Bottom line appears to be upgrade DBIx::ContextualFetch to 1.02 and see
>>>if that makes it go away.
>>
>>I've read that thread, and I also have verso 1.02 of DBIx::CF, but the
>>problem is still there.
>>My quick and dirty solution was to manually copy the Class/DBI/* modules
>>to the appropriate perl library directory.
>
>
> Just to help complete the picture, there could also be a problem with your database driver. When running Perl 5.6.1, DBIx::CF 1.02 and an old version of DBD::Oracle, my error logs were filling up with annoying warning messages virtually identical to the one you reported. Following advice that Tim Bunce gave to someone else on another list, I upgraded to DBD::Oracle 1.16 (latest) and the warnings went away.
Thanks for the tip. To be honest, I don't remember if I upgraded the
DBD::mysql driver while trying to solve the issue, anyway I checked
after reading your mail and it says it's up to date:
<session-log cmd="perl -MCPAN -eshell">
cpan> m DBD::mysql
Module id = DBD::mysql
DESCRIPTION MySQL driver for DBI
CPAN_USERID RUDY (Rudy Lippan <rlippan at remotelinux.com>)
CPAN_VERSION 2.9004
CPAN_FILE R/RU/RUDY/DBD-mysql-2.9004.tar.gz
DSLI_STATUS RmcO (released,mailing-list,C,object-oriented)
MANPAGE DBD::mysql - MySQL driver for the Perl5 Database
Interface (DBI)
INST_FILE
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBD/mysql.pm
INST_VERSION 2.9004
</session-log>
Just for reference, my perl version is:
<session-log cmd="perl -v">
This is perl, v5.8.5 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
</session-log>
I hope this can be of some help for anyone having my same problem...
> HTH!
> David Naughton
>
> _______________________________________________
> maypole mailing list
> maypole at lists.netthink.co.uk
> http://lists.netthink.co.uk/listinfo/maypole
>
Thanks,
Marcello
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT