3 ms·
TIL (as a light Perl user alternative to awk) CPAN runs test on install. Is there any other language package manager runs tests by default?
by fomine3 4y ago
TIL (as a light Perl user alternative to awk) CPAN runs test on install. Is there any other language package manager runs tests by default?
- liveoneggs 4y agothat is super dangerous, just like some other dangerous parts of perl where it can run code during the compilation phase
- btilly 4y agoA lot of languages allow the running of arbitrary code on install, so it is not particularly dangerous that Perl allowed it. However you have no idea how many bugs got caught because the test run uncovered platform specific bugs. This is exactly what gave Perl a good name for being portable. Doubly so given that Perl always did this, starting back in the 1980s.
- zaphar 4y agoEven better is cpan testers who will run your cpan package on the widest variety of platforms I have ever seen. To my knowledge no other package ecosystem will do this.