I have a Macbook(pro 2012 model) with the latest OSX version (Yosemite). I realize perl is pre-installed on unix based systems. Now I'd like to install certain perl modules namely
I have downloaded them from here but I'm quite unsure if its for a Mac based file or not. So I'd request anyone if you can help me verify if its the right version for the Macbook and also with the step by step process to install them.
Any help is highly appreciated. Thanks!
PS: As I have a very low data connectivity in the residential area, I will not be able to go online and install, hence I have downloaded it from the office system (Linux based).
The module distributions on CPAN aren't specific to an individual platform. Some are Perl-only, in which case it doesn't matter what the platform is, and others use XS (C) sgements, which will be configured for you when you build the module
The installation process for a Perl module is described in perlmodinstall
Briefly, it goes like this
Decompress and unpack the module — tar -xzf Module.tar.gz
Prepare the makefile — perl Makefile.pl
Build the module* — make
Test the module — make test
Install the module — make install
But there may be some variations on this. Always check the README
file in the unpacked module if there is one