Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: error with CGI program: Can't locate object method "connect" via package "DBI"

by DaWolf (Curate)
on May 08, 2002 at 14:26 UTC ( #165047=note: print w/replies, xml ) Need Help??


in reply to error with CGI program: Can't locate object method "connect" via package "DBI"
in thread site how to

First thing you should do is what I call "Simplification". Make a simpler script using DBI and see if it runs ok. Make a REALLY simple one, something like:
  • connect
  • select one field from a table
  • print the result
By doing this you will know for sure if this is a code problem or an installation problem.

This error message usually means you have a bad installation... How did you installed DBI?

Best regards,

my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");

P.S.: Are you from Brazil too? :-)
  • Comment on Re: error with CGI program: Can't locate object method "connect" via package "DBI"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2019-11-20 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (96 votes). Check out past polls.

    Notices?