sriraj has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks
I am trying to execute a program, where it has to collect
the data from the database table and to display but i am getting
an error while runnig the program Kindly help me
the error is as follows
(i am using mysql as a backend)
I am trying to execute a program, where it has to collect
the data from the database table and to display but i am getting
an error while runnig the program Kindly help me
the error is as follows
(i am using mysql as a backend)
C:\ram>perl mysql4.pl <br></br> Content-type: text/html <br></br> <h>Software error:</h> <br></br> <pre>Can't locate object method "connect" via package " +DBI"<br></br> (perhaps you forgot to load "DBI"?) at mysql4.pl line 14.<br +></br> </pre><br></br> <p><br></br> For help, please send mail to this site's webmaster, giving this error + message<br></br> and the time and date of the error.<br></br> </p><br></br> [Tue Aug 3 13:57:18 2004] mysql4.pl: Can't locate object method "conn +ect" via <br></br> package "DBI" (perhaps you forgot to load "DBI"?) at mysql4.pl line 14 +.<br></br>
This is the error i am getting while i run the program
20040803 Janitored by Corion: Put error message into CODE tags
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (mysql) failing to locate object method
by davorg (Chancellor) on Aug 03, 2004 at 08:47 UTC | |
by sriraj (Initiate) on Aug 03, 2004 at 08:56 UTC | |
by beable (Friar) on Aug 03, 2004 at 10:05 UTC | |
by sriraj (Initiate) on Aug 03, 2004 at 10:53 UTC | |
Re: (mysql) failing to locate object method
by beable (Friar) on Aug 03, 2004 at 08:51 UTC | |
Re: (mysql) failing to locate object method
by Gilimanjaro (Hermit) on Aug 03, 2004 at 11:09 UTC | |
by sriraj (Initiate) on Aug 03, 2004 at 11:26 UTC | |
by Gilimanjaro (Hermit) on Aug 03, 2004 at 11:54 UTC | |
by sriraj (Initiate) on Aug 03, 2004 at 12:16 UTC | |
by Gilimanjaro (Hermit) on Aug 03, 2004 at 12:58 UTC |
Back to
Seekers of Perl Wisdom