Installing Perl Modules

Here’s how I was able to add Perl modules. Login as root to do this:

Login to the perl shell

perl -MCPAN -e shell

On the perl shell, type install followed by the module name, e.g.
cpan[1]> install LWP::Protocol::https
cpan[1]> install JSON
cpan[1]> REST::Client

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s