=head1 NAME
-perldelta - what's new for perl v5.6.x
+perl561delta - what's new for perl v5.6.x
=head1 DESCRIPTION
Note that suidperl is neither built nor installed by default in
any recent version of perl. Use of suidperl is highly discouraged.
If you think you need it, try alternatives such as sudo first.
-See http://www.courtesan.com/sudo/.
+See http://www.courtesan.com/sudo/ .
=head2 Core bug fixes
=head2 Documentation
-README.aix, README.solaris and README.macos have been added. README.posix-bc
-has been renamed to README.bs2000. These are installed as L<perlaix>,
-L<perlsolaris>, L<perlmacos>, and L<perlbs2000> respectively.
+README.aix, README.solaris and README.macos have been added.
+README.posix-bc has been renamed to README.bs2000. These are
+installed as L<perlaix>, L<perlsolaris>, L<perlmacos>, and
+L<perlbs2000> respectively.
The following pod documents are brand new:
Long doubles should now work under Linux.
-MacOS Classic is now supported in the mainstream source package.
+Mac OS Classic is now supported in the mainstream source package.
See README.macos.
Support for MPE/iX has been updated. See README.mpeix.
Unless specifically qualified otherwise, the remainder of this document
covers changes between the 5.005 and 5.6.0 releases.
-
+
=head1 Core Enhancements
=head2 Interpreter cloning, threads, and concurrency
that with a C<use attrs> pragma in the body of the subroutine.
That can now be accomplished with declaration syntax, like this:
- sub mymethod : locked method ;
+ sub mymethod : locked method;
...
sub mymethod : locked method {
...
}
- sub othermethod :locked :method ;
+ sub othermethod :locked :method;
...
sub othermethod :locked :method {
...
is destroyed and all the weak references to the object are
automatically undef-ed.
-To use this feature, you need the WeakRef package from CPAN, which
+To use this feature, you need the Devel::WeakRef package from CPAN, which
contains additional documentation.
NOTE: This is an experimental feature. Details are subject to change.
See http://www.plover.com/~mjd/perl/at-error.html for more details
about the history here.
+=head2 @- and @+ provide starting/ending offsets of regex submatches
+
+The new magic variables @- and @+ provide the starting and ending
+offsets, respectively, of $&, $1, $2, etc. See L<perlvar> for
+details.
+
=head1 Modules and Pragmata
=head2 Modules
=item B
The Perl Compiler suite has been extensively reworked for this
-release. More of the standard Perl testsuite passes when run
+release. More of the standard Perl test suite passes when run
under the Compiler, but there is still a significant way to
go to achieve production quality compiled executables.
=head1 NAME
- sample - Using GetOpt::Long and Pod::Usage
+ sample - Using Getopt::Long and Pod::Usage
=head1 SYNOPSIS
=over
-=item 64-bit builds
+=item *
+
+64-bit builds
Subtest #15 of lib/b.t may fail under 64-bit builds on platforms such
as HP-UX PA64 and Linux IA64. The issue is still being investigated.
Note that 64-bit support is still experimental.
-=item Failure of Thread tests
+=item *
+
+Failure of Thread tests
The subtests 19 and 20 of lib/thr5005.t test are known to fail due to
fundamental problems in the 5.005 threading implementation. These are
not new failures--Perl 5.005_0x has the same bugs, but didn't have these
tests. (Note that support for 5.005-style threading remains experimental.)
-=item NEXTSTEP 3.3 POSIX test failure
+=item *
+
+NEXTSTEP 3.3 POSIX test failure
In NEXTSTEP 3.3p2 the implementation of the strftime(3) in the
operating system libraries is buggy: the %j format numbers the days of
a month starting from zero, which, while being logical to programmers,
will cause the subtests 19 to 27 of the lib/posix test may fail.
-=item Tru64 (aka Digital UNIX, aka DEC OSF/1) lib/sdbm test failure with gcc
+=item *
+
+Tru64 (aka Digital UNIX, aka DEC OSF/1) lib/sdbm test failure with gcc
If compiled with gcc 2.95 the lib/sdbm test will fail (dump core).
The cure is to use the vendor cc, it comes with the operating system
If you find what you think is a bug, you might check the
articles recently posted to the comp.lang.perl.misc newsgroup.
-There may also be information at http://www.perl.com/, the Perl
+There may also be information at http://www.perl.com/ , the Perl
Home Page.
If you believe you have an unreported bug, please run the B<perlbug>