perl5111delta - what is new for perl v5.11.1
This document describes differences between the 5.11.0 release and the 5.11.1 release.
\donce again have the semantics they had in Perl 5.8.x.
This new syntax allows a module author to set the $VERSION of a namespace when the namespace is declared with 'package'.
It eliminates the need for
our $VERSION = ... and similar constructs.
package Foo::Bar 1.23; # $Foo::Bar::VERSION == 1.23
There are several advantages to this:
$VERSIONis parsed in exactly the same way as
use NAME VERSION
$VERSIONis set at compile time
$VERSION = ...and
evalthe way MM->parse_version does for
$VERSION = ...
It does not break old code with only
package NAME, but code that uses
package NAME VERSION will need to be restricted to perl 5.11.X or newer This is analogous to the change to
open from two-args to three-args. Users requiring the latest Perl will benefit, and perhaps N years from now it will become standard practice when Perl 5.12 is targeted the way that 5.6 is today.
valuesis used without an argument
tell()now fails properly if called without an argument and when no previous file was read
tell() now returns
-1, and sets errno to
EBADF, thus restoring the 5.8.x behaviour
fd_sets more correctly.
It now reads
Unicode non-character is illegal in interchange and the perldiag documentation has been expanded a bit.
To disable this feature in a given lexical scope, you should use
no warnings 'deprecated'; For information about which language features are deprecated and explanations of various deprecation warnings, please see perldiag.pod
make test_portingnow runs a number of important pre-commit checks which might be of use to anyone working on the Perl core.
Several porters have reported mysterious crashes when Perl's entire test suite is run after a build on certain Windows 2000 systems. When run by hand, the individual tests reportedly work fine.
Perl 5.11.1 fails a small set of core and CPAN tests as of this release. With luck, that'll be sorted out for 5.11.2
Perl 5.11.1 represents approximately 3 weeks development since Perl 5.11.0 contains 22,000 lines of changes across 396 files from 26 authors and committers:
Abigail, Alex Vandiver, brian d foy, Chris Williams, Craig A. Berry, David Fifield, David Golden, demerphq, Eric Brine, Geoffrey T. Dairiki, George Greer, H.Merijn Brand, Jan Dubois, Jerry D. Hedden, Jesse Vincent, Josh ben Jore, Max Maischein, Nicholas Clark, Rafael Garcia-Suarez, Simon Schubert, Sisyphus, Smylers, Steve Hay, Steve Peters, Vincent Pit and Yves Orton.
Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish.
If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the perl bug database at http://rt.perl.org/perlbug/ . There may also be information at http://www.perl.org/ , the Perl Home Page.
If you believe you have an unreported bug, please run the perlbug program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of
perl -V, will be sent off to firstname.lastname@example.org to be analysed by the Perl porting team.
If the bug you are reporting has security implications, which make it inappropriate to send to a publicly archived mailing list, then please send it to email@example.com. This points to a closed subscription unarchived mailing list, which includes all the core committers, who be able to help assess the impact of issues, figure out a resolution, and help co-ordinate the release of patches to mitigate or fix the problem across all platforms on which Perl is supported. Please only use this address for security issues in the Perl core, not for modules independently distributed on CPAN.
The Changes file for an explanation of how to view exhaustive details on what changed.
The INSTALL file for how to build Perl.
The README file for general stuff.
The Artistic and Copying files for copyright information.