summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Vincent <jesse@bestpractical.com>2010-03-28 23:48:44 -0400
committerJesse Vincent <jesse@bestpractical.com>2010-03-28 23:51:42 -0400
commit055e9e166d34c9b54a2b01facc7eae6673d243c9 (patch)
tree8dfca44d60ad9ba013d57e25669486f24ea802f9
parentc1c4ae3a961df5aa9544fb76ce5c1d031b6f0dd5 (diff)
downloadperl-055e9e166d34c9b54a2b01facc7eae6673d243c9.tar.gz
Update perldelta to better warn users about the changes from the first-classification of regexps.
-rw-r--r--pod/perl5120delta.pod14
1 files changed, 10 insertions, 4 deletions
diff --git a/pod/perl5120delta.pod b/pod/perl5120delta.pod
index 47fdf0b3f6..5d5fc08764 100644
--- a/pod/perl5120delta.pod
+++ b/pod/perl5120delta.pod
@@ -280,6 +280,16 @@ version's C<site_perl> and C<vendor_perl>. Modules installed into
C<site_perl> and C<vendor_perl> will now be loaded in preference to
those installed in C<ARCHLIB> and C<PRIVLIB>.
+
+=head2 REGEXPs are now first class
+
+Internally, Perl now treates compiled regular expressions (such as
+those created with C<qr//>) as first class entities. Perl modules which
+serialize, deserialize or otherwise have deep interaction with Perl's
+internal data structures need to be updated for this change. Affected
+modules include L<FreezeThaw>,L<Data::Dump::Streamer> and L<Regexp::Copy>.
+
+
=head2 Switch statement changes
The C<given>/C<when> switch statement handles complex statements better
@@ -1651,10 +1661,6 @@ C<SVt_RV> no longer exists. RVs are now stored in IVs.
=item *
-REGEXPs are now first class.
-
-=item *
-
C<Perl_vcroak()> now accepts a null first argument. In addition, a full
audit was made of the "not NULL" compiler annotations, and those for
several other internal functions were corrected.