I suspect your problem is elsewhere, but please try adding the
quotation marks and rebuilding the DBI.
(I've added the quotation marks back in my copy since the next
version is 1.30 and that'll be reported as "1.3" without the quotation
marks.)
Tim.
On Wed, Jul 17, 2002 at 04:27:18PM +0200, Frank Haegele wrote:
> Hello Tim,
>
> the last days a have had problems with DBI module.
>
> I get this error message:
> DBI object version 1.29 does not match $DBI::VERSION 1 at
> /usr/lib/perl5/5.6.1/i586-linux/DynaLoader.pm line 225. BEGIN
> failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.1/i586-linux/DBI.pm line 243.
>
> I did not understand what I do wrong.
>
> I get surprised when I installed an older version of DBI. In this case
> it was DBI-1.19. Suddenly my
> software runs.
>
> As I compare the two versions (DBI-1.19 and DBI 1.23) I saw a difference
> into the following line of code:
>
> BEGIN {
> $DBI::VERSION = 1.23; # ==> ALSO update the version in the pod text below!
> }
>
> BEGIN {
> $DBI::VERSION = "1.19"; # ==> ALSO update the version in the pod text below!
> }
>
> Could it be, that if you do not put the version-number into quotation
> marks perl interprets this not as
> a floating number but as an integer?
>
> Now I download the version DBI-1.29 and how you could think the bug
> exist in this version, too.
>
> It seems for me that since DBI-1.19 the bug is into. I test it with
> version 1.21, 1.23, 1.24, 1.27, 1.28
> and now with 1.29.
>
> At last: I work with Linux (SuSE 7.3), but it happen also with Windows.
> I use Perl Version 5.6.1 (the distribute version of SuSE).
>
> Kind regards
> Frank Haegele
>
> PS: If my English is not very well feel free to correct me ;-)
> Nevertheless I hope you could understand me.
>