I needed a few Perl modules that weren't installed on the standard Perl installation on my Mac (OS X 10.9.2). In How to install Perl modules on Mac OS X in 4 easy steps I found all the details needed. I didn't need to do step 1 (and 1.5) since this is the first thing I do on every new Mac instance. To summarize what I did in 3 steps to install the two modules I needed:
sudo perl -MCPAN -e 'install Bundle::CPAN'
sudo perl -MCPAN -e 'install Text::Iconv'
sudo perl -MCPAN -e 'install HTML::TokeParser::Simple'