X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlreapi.pod;h=b0d6275810d75424bb7ed1ed5258aa44bcde0a5c;hb=0a3a8dc0cd7227e83cd26fe236d1ad57c4add668;hp=6e5be84dc9e15787368ec76440ad6dc91e5c38b6;hpb=a0e97681e3dce1bd7507ced1852eba3f825dab38;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlreapi.pod b/pod/perlreapi.pod index 6e5be84..b0d6275 100644 --- a/pod/perlreapi.pod +++ b/pod/perlreapi.pod @@ -302,7 +302,7 @@ variables, to do this in another engine use the following callback Perl_croak(aTHX_ PL_no_modify); } -Actually perl 5.10 will not I croak in a statement that looks +Actually perl will not I croak in a statement that looks like it would modify a numbered capture variable. This is because the STORE callback will not be called if perl can determine that it doesn't have to modify the value. This is exactly how tied variables @@ -334,7 +334,7 @@ just die when assigned to in the default engine. Get the C of a capture variable. There's a special callback for this so that perl doesn't have to do a FETCH and run C on the result, since the length is (in perl's case) known from an offset -stored in C<offs> this is much more efficient: +stored in C<< rx->offs >> this is much more efficient: I32 s1 = rx->offs[paren].start; I32 s2 = rx->offs[paren].end;