A little from the head:
- In the case of the XS module, the code is compiled for the local platform.
- Installing the module through cpan usually starts a test suite, so if there is any other reason beyond the dependencies why this does not work, they tell you so (I think this is very rare, though)
- Regular installation automatically goes to the directory where your perl can find the modules.
Of course, you yourself can take care of all this. These days itβs very good that you use Linux or Windows on something x86-ish, and as long as you copy only Linux to Linux and Windows to Windows, and in the same place as in the source system, you you'll be fine, Basically, what Linux binary distributions and ActivePerl packages do, and that might make sense, for example. if you want to avoid installing a number of compile-time dependencies on all target systems. Just make sure you donβt get in a mess by writing to system directories (e.g. /usr/share/perl5 ) that should be managed by your system package manager.
source share