How to Install cpansearch on Mac using Brew

Package Information:

Name: cpansearch
Use: cpansearch is written in C, provides a quick interface for searching cpan modules.
URL: https://github.com/c9s/cpansearch

Installation Steps:

  1. Open Terminal by pressing <command+space>. Type terminal and hit Enter key.
  2. Now, Execute
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install cpansearch using brew
    brew install cpansearch

cpansearch is ready to use now!