On 23 May 2019, at 8:26, [email protected] wrote:

Ryan answered someone asking how to install modules. I read but am confused.
Help please:

[haycorn] /Users/jam/DEVEL [612]% sudo port install p5-dbd-mysql
--->  Computing dependencies for p5-dbd-mysql
--->  Cleaning p5-dbd-mysql
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

[haycorn] /Users/jam/DEVEL [613]% perl -e "use dbd::mysql"
Can't locate dbd/mysql.pm in @INC (you may need to install the dbd::mysql module) (@INC contains: /opt/local/lib/perl5/site_perl/5.28/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.28 /opt/local/lib/perl5/vendor_perl/5.28/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.28 /opt/local/lib/perl5/5.28/darwin-thread-multi-2level /opt/local/lib/perl5/5.28) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Perl is always case-sensitive. "use DBD::mysql" should work for you.




--
Bill Cole
[email protected] or [email protected]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to