Change 20289 by [EMAIL PROTECTED] on 2003/07/29 08:48:19

        Subject: 5.8.1 change not in perldelta
        From: "James A. Duncan" <[EMAIL PROTECTED]>
        Date: Wed, 16 Jul 2003 12:42:31 +0100
        Message-Id: <[EMAIL PROTECTED]>
        
        (the regexp magic change)

Affected files ...

... //depot/maint-5.8/perl/pod/perldelta.pod#49 edit

Differences ...

==== //depot/maint-5.8/perl/pod/perldelta.pod#49 (text) ====
Index: perl/pod/perldelta.pod
--- perl/pod/perldelta.pod#48~20284~    Mon Jul 28 22:18:48 2003
+++ perl/pod/perldelta.pod      Tue Jul 29 01:48:19 2003
@@ -683,6 +683,13 @@
 
 Perl_save_bool() has been added.
 
+Regexp objects (those created with C<qr>) now have S-magic rather than
+R-magic.  This fixed regexps of the form /...(??{...;$x})/ to no
+longer ignore changes made to $x.  The S-magic avoids avoid dropping
+the caching optimization and making (??{...}) constructs obscenely
+slow (and consequently useless).  See also L<perlguts/"Magic Variables">.
+Regexp::Copy was affected by this change.
+
 C<-DL> removed (the leaktest had been broken and unsupported for years,
 use alternative debugging mallocs or tools like valgrind and Purify).
 
End of Patch.

Reply via email to