I'd like to install a Perl module (in this case, FindBin), but since it is included in the perl5.10.1 distribution, cpan wants to install perl5.10 for me. Is there any way of installing just the module via cpan? The only option that I can see is installing directly from source, which seems a bit crude as there is no separate package (e.g. Makefile.PL
etc), just the bare .pm
file.
Since this is a small module that only has the one file, it's doable in this case, but what if I wanted to install a much larger package?
EDIT: This is somewhat aside from the original question, but speaks to the general issue of modules being packaged up with Perl distributions: I discovered that the "standalone" FindBin (version 1.49) had a syntactic error, so I retrieved version 1.50 out of the perl5.10.1 distribution... however since the module is now listed on cpan as part of perl5.10, I am unable to find the CHANGES file describing what was changed/fixed in this delta. Is it reasonable that I should have to go into the developer repository to pull out this information?)
EDIT 2. Okay, here's a better example. On perl5.8.8 I have version 1.04 of Carp. However, I see that perl5.10.1 comes packaged with version 1.11. Is there any way of getting CPAN to install the latest version of Carp for me without dragging in all of perl5.10.1? I can't even find a link to the Carp module on CPAN except to the perl5.10.1 installation.