A) Start CPAN Shell:
# perl -MCPAN -e shell
B) Install a perl module:
At cpan> shell prompt install module using install module::Name command. For example install module called MIME::Lite:# cpan> install MIME::Lite
Alternatively, try out the following command:# cpan -i MIME::Lite
Source: How do I install a Perl Module?.
No comments:
Post a Comment