Hi,
I just upgraded from DBI 1.14 to 1.15. After the install completed, I
ran a check on what else needed to be upgraded, the CPAN module reports
that DBD::ADO module needs to be upgraded from the current 0.419 to
version 1.17 as found in DBI 1.14.
Why did the version regress? Let's take a look at the code for
blib/DBD/ADO.pm in DBI 1.15 and 1.14:
Anubis JL: pwd
/work/jleffler/.cpan/build/DBI-1.15
Anubis JL: grep '$VERSION =' lib/DBD/ADO.pm
$VERSION = '0.4'.sprintf("%02d",substr(q$Revision: 1.19 $, 12,-1));
Anubis JL: cd /work2/DBD-Informix/DBI-1.14
Anubis JL: grep '$VERSION =' lib/DBD/ADO.pm
$VERSION = sprintf("%d.%02d", q$Revision: 1.17 $ =~ /(\d+)\.(\d+)/o);
Anubis JL:
And there's the trouble -- the new code explicitly sets VERSION to
0.419, whereas the old code let it be 1.17.
Any ideas on when this will be fixed?
I'm probably going to hack my DBD::ADO module to set the version to 1.19
so that I don't get told to reinstall DBD::ADO every time I check what
needs to be upgraded (at least once per week), but I don't like it.
And please remind everybody that you cannot regress version numbers!
--
Yours,
Jonathan Leffler ([EMAIL PROTECTED]) #include <disclaimer.h>
Guardian of DBD::Informix v1.00.PC1 -- http://www.perl.com/CPAN
"I don't suffer from insanity; I enjoy every minute of it!"