freebsd-ports/lang/perl5.26/pkg-message
Mathieu Arnold f9d0b19b04 Introduce Perl 5.26.
A few important changes:

 - '.' is no longer in @INC.
 - "do" now gives a deprecation warning when it fails to load a file
   which it would have loaded had "." been in @INC.
 - In regular expression patterns, a literal left brace "{" should be
   escaped.

Changes:	https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/perldelta.pod
Sponsored by:	Absolight
2017-05-31 09:02:11 +00:00

11 lines
267 B
Text

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.