Documentation for a newer release is available. View Latest

Perl

Packaging of the Perl Core Modules

The release of Fedora 27 brings a change in the way that the Perl core modules are packaged by Fedora. In Perl, the core modules are the standard set of modules that ship with the Perl interpreter. Previously in Fedora, the Perl core modules were split into a number of subpackages in such a way that installing the perl package did not install the full set of Perl core modules. This behaviour was not what was expected by most Perl users and so, from Fedora 27, installing the perl package now installs the full set of Perl core modules. It is still possible to install only a minimal Perl interpreter by installing just the perl-interpreter package.

Perl 5.26

A new version of perl is released every year and version 5.26 is 2017’s stable release. This release includes three updates with widespread effects:

"." no longer in @INC

For security reasons, the current directory (".") is no longer included by default at the end of the module search path (@INC). This may have widespread implications for the building, testing and installing of modules, and for the execution of scripts.

do may now warn

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 "{" must be escaped

Unescaped literal { characters in regular expression patterns are no longer permitted. Use a pattern like "\{" or "[{]" to specify a match to a left brace.

For more information about this release, please see the 5.26.0 perldelta web page.