Perl 5.20 in FreeBSD

Running Perl in FreeBSD? You should be using env, but a heads up by the tireless maintainers:

Message from perl5-5.20.3_8:
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

#!/usr/bin/env perl

The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.

As an aside, the dependency list on the Perl5 FreshPorts page is among the most impressive I’ve ever seen. 6000+ packages require it to run, and as many to build.


Imprint

This is one of about 5000 posts on Rubénerd. View the home page for the latest, or related posts also tagged with:

If you liked this post, feel free to buy me a coffee, leave me a comment on Twitter, or email me at weblog2017@rubenschade.com. Thanks :).