How to install Perl on macOS
perl -v
to see the version of Perl that's installed.
brew install perl is a quick way to get a newer
system-wide Perl.
cpanm tool, which makes installing modules very simple to do. Install it
by running:
cpan App::cpanminus