in reply to Installing the DBI errors

Well... check your @INC. Just print it to STDOUT and look if DBI.pm is in any of the printed dirs.

Replies are listed 'Best First'.
Re: Re: Installing the DBI errors
by barrd (Canon) on Nov 08, 2003 at 14:17 UTC
    As Jaap mentioned check your @INC, if you don't know how to do it try this on the CLI:
    perl -e 'print join("\n", @INC);'
    This will return a list of the directories that Perl looks in for modules and the DBI.pm should be residing in one of them.

      Or more concisely:

      perl -le'print for @INC'

      Though not in this discussion, I thank you for that little tidbit. I have been having similar problems with some of my modules at work. This should give me a pretty good idea if I am missing anything.

      Let me guess, this is probably first day PERL101 stuff and I missed that lesson!

      Thanks again!

      Paulster2

        Let me guess, this is probably first day PERL101 stuff and I missed that lesson!
        :-)

        No worries Paulster2, I've admitted in the past that I didn't even know about CPAN let alone @INC when I was a newbie. I wish this resource had been here when I started coding but then it was fun learning the hard way... long story ;)