X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperl561delta.pod;h=72c38f15a9be641ce981d913d17f50089646fd1d;hb=ba336be1bea3ce6a079a831a7a58533d4e92ecc9;hp=fa36ebcf1c5708657f4d8c9e9ec565acd6db5a84;hpb=8939ba947b65b018b80ecab3fe1366287d07d1d7;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perl561delta.pod b/pod/perl561delta.pod index fa36ebc..72c38f1 100644 --- a/pod/perl561delta.pod +++ b/pod/perl561delta.pod @@ -763,13 +763,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 { ... @@ -1385,9 +1385,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 submatches + +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 @@ -1403,7 +1409,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.