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

Re^3: (mysql) failing to locate object method

by Gilimanjaro (Hermit)
on Aug 03, 2004 at 11:54 UTC ( #379588=note: print w/replies, xml ) Need Help??

in reply to Re^2: (mysql) failing to locate object method
in thread (mysql) failing to locate object method

This almost certainly means something is not right with your DBI installation... Try adding
print "$_\n" for grep /^[a-z]/, keys %DBI::;
after your 'use DBI;'. This single line will show you all symbols (including methods) in your DBI package after you've used it. If this list contains 'connect' then there's something wrong with your perl. If it doesn't, then something is wrong with your DBI. You could try reinstalling your DBI package maybe...

Replies are listed 'Best First'.
Re^4: (mysql) failing to locate object method
by sriraj (Initiate) on Aug 03, 2004 at 12:16 UTC
    hi Gilimanjaro

    thank u very much for giving the immediate response i tried to

    run the program as per ur instructions and i didnt get any output

    This is the program


    use strict;

    use DBI;

    print "$_\n" for grep /^a-z/, keys %DBI::;

    output of the program is




    can i know what could be the error, if it is dbi installing problem

    how can i uninstall the dbi package
      This means DBI is not loaded properly, so it's probably not installed properly. I don't know much about ppm, but what I can find online seems to indicate you need to:
      ppm remove DBI ppm install DBI
      I hope it helps....

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (1)
As of 2023-09-22 18:40 GMT
Find Nodes?
    Voting Booth?

    No recent polls found