From: Jesse Vincent Date: Mon, 29 Mar 2010 03:48:44 +0000 (-0400) Subject: Update perldelta to better warn users about the changes from the first-classification... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=055e9e166d34c9b54a2b01facc7eae6673d243c9;p=p5sagit%2Fp5-mst-13.2.git Update perldelta to better warn users about the changes from the first-classification of regexps. --- diff --git a/pod/perl5120delta.pod b/pod/perl5120delta.pod index 47fdf0b..5d5fc08 100644 --- a/pod/perl5120delta.pod +++ b/pod/perl5120delta.pod @@ -280,6 +280,16 @@ version's C and C. Modules installed into C and C will now be loaded in preference to those installed in C and C. + +=head2 REGEXPs are now first class + +Internally, Perl now treates compiled regular expressions (such as +those created with C) 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,L and L. + + =head2 Switch statement changes The C/C switch statement handles complex statements better @@ -1651,10 +1661,6 @@ C no longer exists. RVs are now stored in IVs. =item * -REGEXPs are now first class. - -=item * - C 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.