Monks,

I have been playing around with Class::DBI these last few days. I have compiled my own Perl 5.8.6 on Windows XP with the MinGW tools, and installed Class::DBI via CPAN.pm. This works fine (for some definition of fine, but more on that in a potential future node).

I sent an example Class::DBI script to a colleague (who uses Activestate Perl), and told him to install Class::DBI. Activestates's repositories states that Class::DBI is version 0.96, which is the same version that I got from CPAN.

PPM installs ok, and reports that version 0.96 is installed, but when my script did not work I told him to look at the version number of his PPM-install.

C:\>perl -MClass::DBI -e "print $Class::DBI::VERSION" 0.95

Come again? Version 0.95? I have googled and super searched, and I'm not the only one who has experienced this. I am still unable to find an answer to why this happens, though. I know I can work around the entire issue by downloading the module(s) directly from CPAN and making PPD's myself, but frankly, that's a hassle. Not to mention the purgatory I would have to go through to get this on our production servers.

Is my google-fu not up to scratch (as it usually seems to be when I post something around here)? Or is something amiss with Class::DBI in Activestate's repository? I have in any case sent a message to Activestate support, although I don't know if that will do any good.

In the meantime, it looks like Class::DBI is not meant for us ...

pernod
--
Mischief. Mayhem. Soap.


In reply to What's up with Class::DBI on Activestate Perl on windows via PPM? by pernod

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.