![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
MySQL.pm and PERL5LIBby Hammer2001 (Novice) |
on Jan 16, 2014 at 20:57 UTC ( #1070852=perlquestion: print w/replies, xml ) | Need Help?? |
Hammer2001 has asked for the wisdom of the Perl Monks concerning the following question:
Greetings to the wise. I have a script that needs to transfer data from CSB files to MySQL. The environment is CentOS 6.4 (64-bit) with Perl 5.18.1.
I am using and have installed Text::CSV::Auto::ExportTo::MySQL from CPAN:
When I use this module in my code, I get the error:
Clearly the module is there at /usr/local/lib/perl5/site_perl/5.18.1/Text/CSV/Auto/ExportTo/MySQL.pm, but yet Perl can't find it. When I add use lib "/usr/local/lib/perl5/site_perl/5.18.1/x86_64-linux" to my code, it still can't find. I have now copied modules all over the place, reinstalled perl & CPAN and done other desperate things which have left my system in a mess. Is there a way to re-install Perl on CentOS6.4 to get a clean Perl environment? Thank you kindly, Hamid.
Back to
Seekers of Perl Wisdom
|
|