Palisetti, Krishna_Mohan wrote:
>>>>> Hi, I'm seeing the following warning message from
>>>>> DBIx::ContextualFetch intermittently. Use of uninitialized value
>>>>> in null operation at
>>>>> /usr/local/lib/perl5/site_perl/5.8.6/DBIx/ContextualFetch.pm line
>>>>> 51.
>>>>> 
>>>>> What does it mean? Sorry, I am not in a position to provide a
>>>>> simple test case as I still can't reproduce the problem at will.
>>>>> 
>>>>> [EMAIL PROTECTED]:~$ perl -MDBI -e 'DBI->installed_versions;'
>>>>>   Perl            : 5.008006    (i86pc-solaris)
>>>>>   OS              : solaris     (2.10)
>>>>>   DBI             : 1.48
>>>> 
>>>> What version of DBIx::ContextualFetch do you have installed?
>>> 
>>> [EMAIL PROTECTED]:~$ perl -MDBIx::ContextualFetch -le 'print
>>> $DBIx::ContextualFetch::VERSION' 1.02
>> 
>> I can't be sure, but it looks like it's probably a bug in the DBD
>> you're using. What driver are you using with this connection? Is it
>> the latest version?
>
> We are using, DBD::Sybase v1.02_01. The latest one seems to be v1.07.
> We could try the upgrade but it would be difficult to convince the
> production group unless we can say for sure that the latest version
> addresses this problem.

You could try to install the latest version in a temporary test location
in your dev area and test that.

  mkdir /tmp/dbd-syb-latest
  perl Makefile.PL INSTALLSITELIB=/tmp/dbd-syb-latest
  make test && make install

  # from shell
  export PERL5LIB=$HOME/dbd-syb-latest:$PERL5LIB
  ./your-script.pl

  # from Apache:
  SetEnv PERL5LIB /tmp/dbd-syb-latest
  PassEnv PERL5LIB
  PerlPassEnv PERL5LIB

Philip

Reply via email to