<edit>Make sure you don't have an empty DBI folder in any of your directories encompassed by @INC. There could be a blank one @ C:/Perl/lib/DBI. DBI on my windows installation defaults to C:/Perl/site/lib/DBI. Make sure you don't have DBI components anywhere else but C:/Perl/site/lib/DBI. I'm just throwing out ideas here. This is a somewhat perplexing issue assuming you have done everything correctly as you say.</edit>

Chances are DBI wasn't installed by default.

Assuming you're using ActiveState's perl distribution. Go to Start->Run and type ppm and Click OK. Then at the prompt type install DBI. Then depending on what DBD driver you're using install that as well. you can type search ODBC to find ODBC modules in the repositories.

You could also download it from DBI and install it manually via Nmake1.5.


Grygonos

In reply to Re: DBI on Windows by Grygonos
in thread Oracle Data Sources on Windows by ephemeral

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.