perl -MCPAN -e shell
does not work, then type it as
sudo perl -MCPAN -e shell
Installing extra perl modules :
- Even after install, if some of the modules are missing in perl, YOu need to install them in mac using the cpan utility as below :
- browse to the perl install location, most often this location is usr/bin/perl by default. This location can also be modified during installation.
- Type in >> ./cpan
- >>install <> ..... For examples, if the module is XMP::Parser which is throwing error.. then, it would be, >> install XML::Parser
- type yes. enter
- again type yes. enter
2. Now, set perl from Preferences in eclipse to the installed location. In my above case, browse to usr/bin/perl
Now the module missing error would vanish.
************************************************************
No comments:
Post a Comment