I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-07-06 23:29:33-07 by stephenmcgowan
perl.pm - DBD::mysql issue?
Greetings,

I started up a script in the knowledge that the DBD::mysql was installed correctly.
I've been trying to call mysql.pm which i believe to be associated with this install. But i'm receiving the error:

Can't locate mysql.pm in @INC (@INC contains: /Library/Perl/Updates/5.8.8/darwin-thread-multi-2leve +l /Library/Perl/Updates/5.8.8 /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Librar +y/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Net +work/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Pe +rl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 +/Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at stub_uniprot_interpro.pl line 9.


I have tried searching for the mysql.pm.. only to receive:

bash-3.2# locate mysql.pm /Users/stevey_mac2k2/.cpan/build/DBD-mysql-4.012/lib/Bundle/DBD/mysql.pm /Users/stevey_mac2k2/.cpan/build/DBD-mysql-4.012/lib/DBD/mysql.pm


I have tried to reinstall DBI::mysql:

cpan[1]> install DBD::mysql CPAN: Storable loaded ok (v2.15) Going to read '/Users/stevey_mac2k2/.cpan/Metadata' Database was generated on Sun, 05 Jul 2009 21:26:57 GMT DBD::mysql is up to date (4.012).
Any advice on this matter would be much appreciated.

Many thanks. Stephen.
Direct Responses: 11134 | Write a response