Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Messages while using DBI

by stonecolddevin (Vicar)
on Oct 16, 2009 at 19:40 UTC ( #801634=note: print w/ replies, xml ) Need Help??

in reply to Messages while using DBI

Start by turning on strict and warnings. Are you sure that's the correct path to perl?


Comment on Re: Messages while using DBI
Re^2: Messages while using DBI
by Anonymous Monk on Oct 16, 2009 at 20:17 UTC
    Yep, I have those already. I also tried turning them off. I have more than one version of Perl. The other version does not give the same problem. There are no 'shared' libraries either.
      Sometimes there can be path issues when multiple Perl versions are installed. The @INC path may have some bogus stuff in it. Here is some simple code to dump @INC and %INC. Note the difference in how much stuff happens by including the use DBI; vs not.
      #!usr/bin/perl -w use strict; #use DBI; print join("\n",@INC),"\n\n"; foreach (keys %INC) { print "$_=>$INC{$_}\n"; } __END__ without use DBI; ---------------- C:/Perl/site/lib C:/Perl/lib . C:/Perl/site/lib/>C:/Perl/site/lib/>C:/Perl/lib/ WITH use DBI: -------------- C:/Perl/site/lib C:/Perl/lib . C:/Perl/site/lib C:/Perl/lib .>C:/Perl/lib/>C:/Perl/lib/ warnings/>C:/Perl/lib/warnings/ C:/Perl/site/lib/>C:/Perl/site/lib/ List/>C:/Perl/lib/List/ ActiveState/>C:/Perl/lib/ActiveState/>C:/Perl/lib/>C:/Perl/lib/>C:/Perl/site/lib/ File/>C:/Perl/lib/File/>C:/Perl/lib/ ActivePerl/>C:/Perl/lib/ActivePerl/>C:/Perl/lib/ Scalar/>C:/Perl/lib/Scalar/ Exporter/>C:/Perl/lib/Exporter/>C:/Perl/lib/>C:/Perl/lib/>C:/Perl/lib/>C:/Perl/lib/>C:/Perl/lib/>C:/Perl/lib/>C:/Perl/lib/

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://801634]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-09-22 17:26 GMT
Find Nodes?
    Voting Booth?

    How do you remember the number of days in each month?

    Results (198 votes), past polls