http://qs1969.pair.com?node_id=1159836


in reply to Re^3: Raspberry Pi and Perl (updated)
in thread Raspberry Pi and Perl

I guess that apt-get just copies files while cpanmn queries its mothership for dependencies and usually runs tests.

Replies are listed 'Best First'.
Re^5: Raspberry Pi and Perl (updated)
by marto (Cardinal) on Apr 08, 2016 at 06:59 UTC

    Yes, there's a big performance hit when running tests/compiling, especially if the device is running from SD card, which most do.

      um, cpanm --notest ....

        Not everyone is aware of this, or would want to do this. Also, for XS modules you'll still need to compile, which is slower than just copying the files as apt-get does. The point is that, while not exactly the same thing and not ideal in all situations, apt-get is faster than cpanm on such systems.

        Sure, but not everybody is aware of that, as most people likely just use the default options whatever they are.