unable to run perl scripts in BASH "Cannot Locate Switch.pm" -


i'm trying run perl in bash terminal typing

perl helloworld.pl  

but when try error message comes up.

can't locate switch.pm in @inc (you may need install switch module) (@inc contains: /library/perl/5.18/darwin-thread-multi-2-level ....)begin failed --compilation aborted at...

i've tried updating switch.pm using cpan either says can't install because missing yaml module, (i installed too.. , nothing), or says installed same error message comes up.

i'm using yosemite on mac. if has run or knows can find solution that'd appreciated. thank in advance!

switch.pm deprecated , no longer distributed core modules.

you should not use in production code if have option.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -