in reply to (mysql) failing to locate object method
Not much to go on because you didn't show us your code. Could it be a syntax error on line 42? that you forgot to put in a line which says use DBI; ? Really you'd need to post the code that demonstrates the problem to get good help. You also might like to look at the documentation: DBI
In Section
Seekers of Perl Wisdom