perl modules

Bill Cole macportsusers-20171215 at billmail.scconsult.com
Thu May 23 13:32:28 UTC 2019


On 23 May 2019, at 8:26, jam at tigger.ws 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
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


More information about the macports-users mailing list