Tim Bunce wrote:
> Check that the DBI.pm in that directory contains this group of lines:
>
> selectrow_arrayref=>{U =>[2,0,'$statement [, \%attr [, @bind_params ] ]'] },
> selectrow_hashref=>{ U =>[2,0,'$statement [, \%attr [, @bind_params ] ]'] },
> selectall_arrayref=>{U =>[2,0,'$statement [, \%attr [, @bind_params ] ]'] },
Nope:
###
su-2.04# grep selectrow_hashref DBI.pm
Added selectall_hashref, selectrow_hashref, selectrow_arrayref methods.
sub selectrow_hashref { return _do_selectrow('fetchrow_hashref',
@_); }
#####
> and $DBI::VERSION = "1.15" at the top.
Yep. Strange. I backed up the tar ball this came from, and then deleted
the related files in the .cpan source and build directories, as well as
the DBI.pm files in the system Perl path and tried re-installing in
through CPAN. The result was the same. The 'grep' above came out the
same, and the make test failed as well. It appears I grabbed my fresh
copy from the root CPAN server:
####
Trying with "/usr/local/bin/lynx -source" to get
ftp://ftp.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.15.tar.gz
CPAN: MD5 loaded ok
Trying with "/usr/local/bin/lynx -source" to get
ftp://ftp.cpan.org/CPAN/authors/id/T/TI/TIMB/CHECKSUMS
Checksum for /usr/src/.cpan/sources/authors/id/T/TI/TIMB/DBI-1.15.tar.gz
ok
#####
What next?
Thanks,
-mark
http://mark.stosberg.com/