|We don't bite newbies here... much|
Re: CPAN Modulesby davido (Archbishop)
|on Jul 11, 2013 at 05:15 UTC||Need Help??|
This is pretty easy to investigate:
Array::Utils: First you visit http://metacpan.org and type in its search box, "Array::Utils". Click on the first item in the search results. On the right side of the page you'll see a link that says, "Dependencies" (unknown, in this case). Since dependencies seem to be "unknown", you would then want to click (at the left of the page) "Source", and view the module's source to see what dependencies it has. It appears to have no non-core dependencies.
Great, so next let's check the module's test results: Click on the "Test Results" link, and you'll find that it has, indeed passed tests on Perl 5.8. While you're at it, follow the module's page's "Browse" link, and then quickly review Makefile.PL, and the test suite to see if it has any hidden dependencies or explicit minimum Perl versions. It doesn't. You are good to go. Let's download it.
Again on the module's main page at metacpan, you will find a "Download" link. Click it, and Array-Utils-0.5.tar.gz will be downloaded to your system. You can unpack that tarball into a build directory, then perform the mantra: perl Makefile.PL, then make, make test, and if all goes well, make install.
Now for JSON: Take the same steps as above. You'll find it has no non-core dependencies listed, and that as you browse through the distribution's files, the test suite is designed to handle Perl versions that are pre-5.8. Reviewing test results will also show plenty of PASS tests for Perl 5.8.
Again, you can click the "Download" link, and get the tarball, unpack it, and perform the mantra.
This is the same investigative process you can follow for just about any module. Some will turn out to not be as easy to get up and running, but the investigation is the same; check dependencies, check tests, download (possibly download dependencies), build it, enjoy.