The "correct" way to install any software is to download the source and follow the instructions in the README file (or should that be the INSTALL file ?). Of course CPAN.pm totally ignores what's written in the README/INSTALL, thereby committing a fundamental sin - to the extent that I therefore wonder if the term "correct" is even applicable in the context of CPAN.pm.
in reply to Re: What is the "correct" way to provide the C include path(s) to C/XS modules
in thread What is the "correct" way to provide the C include path(s) to C/XS modules
I would posit it is a far greater sin to add a critical install time dependency on a non-linear naive unreliable non-expert organic neural net encased in a meat sack.
Software, ESPECIALLY libraries and components that will only ever be consumed directly by machines, should always be installable by machines as well.