Tuesday 5 November 2019

perl - 5 ways cpan module installation


Method 1:(Manual Installation From cpan.org)

use wget  or manual search  from  metacpan.org
and get the package download path and use with wget or download manually.

Extract it as described below,

tar -xzvf XML-Simple-2.25.tar.gz
cd XML-Simple-2.25

perl Makefile.PL->make->make test ->make install


Method 2:(using CPAN Shell)

 >cpan
>install XML::Simple.


Method 3:

sudo perl -MCPAN -e 'install XML::Simple.'


Method 4:

To install Module

cpanm XML::Simple



Method 5:(WINDOWS-ActivePerl)


ppm> search XML-Simple

ppm> install XML-Simple



kaavannan perl blogspot

Labels: , ,

0 Comments:

Post a Comment

Note: only a member of this blog may post a comment.

<< Home