X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/688005af5f8ea5f643d0a9924df956d3910482be..e6b54db65c0cdda6ff40959415e828972b6a92b5:/pod/perl56delta.pod diff --git a/pod/perl56delta.pod b/pod/perl56delta.pod index 5d07c14..24c2072 100644 --- a/pod/perl56delta.pod +++ b/pod/perl56delta.pod @@ -165,13 +165,13 @@ as requiring an automatic lock() when it is entered, you had to declare that with a C 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 { ... @@ -787,9 +787,15 @@ already. The fatal error has been downgraded to an optional warning: This warns you that C<"fred@example.com"> is going to turn into C if you don't backslash the C<@>. -See http://www.plover.com/~mjd/perl/at-error.html for more details +See http://perl.plover.com/at-error.html for more details about the history here. +=head2 @- and @+ provide starting/ending offsets of regex matches + +The new magic variables @- and @+ provide the starting and ending +offsets, respectively, of $&, $1, $2, etc. See L for +details. + =head1 Modules and Pragmata =head2 Modules @@ -805,7 +811,7 @@ See L. =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. @@ -2366,7 +2372,6 @@ You should use the new declaration syntax instead. The C pragma is now obsolete, and is only provided for backward-compatibility. See L. - =item Premature end of script headers See Server error. @@ -2753,7 +2758,8 @@ Note that the above issue is not relevant to the default build of Perl, whose interfaces continue to match those of prior versions (but subject to the other options described here). -See L for detailed information on the + +See L for detailed information on the ramifications of building Perl with this option. NOTE: PERL_IMPLICIT_CONTEXT is automatically enabled whenever Perl is built @@ -2987,7 +2993,7 @@ warning. And in Perl 5.005, this special treatment will cease. 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/perl/, the Perl +There may also be information at http://www.perl.com/perl/ , the Perl Home Page. If you believe you have an unreported bug, please run the B