In perl.git, the branch sprout/perl5140delta has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/7cc4b058ce95502f1339d17592143719d2eb16e8?hp=437e76908aa43a70612c136b5a3099c98766abd8>

- Log -----------------------------------------------------------------
commit 7cc4b058ce95502f1339d17592143719d2eb16e8
Author: Father Chrysostomos <[email protected]>
Date:   Mon Mar 14 14:06:03 2011 -0700

    perldelta: Clean up the Security section
-----------------------------------------------------------------------

Summary of changes:
 pod/perldelta.pod |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 8984f8d..4dc8b76 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -455,21 +455,16 @@ DTrace will print:
 
 =head1 Security
 
-=head2 Restrict \p{IsUserDefined} to In\w+ and Is\w+
+=head2 User-defined regular expression properties
 
 In L<perlunicode/"User-Defined Character Properties">, it says you can
 create custom properties by defining subroutines whose names begin with
-"In" or "Is". However, perl doesn't actually enforce that naming
-restriction, so \p{foo::bar} will call foo::Bar() if it exists.
-
-This commit finally enforces this convention. Note that this broke a
-number of existing tests for properties, since they didn't always use an
-Is/In prefix.
-
-=head2 User-defined regular expression properties
+"In" or "Is". However, Perl did not actually enforce that naming
+restriction, so \p{foo::bar} could call foo::bar() if it existed. Now this
+convention has been enforced.
 
-Perl no longer allows a tainted regular expression to invoke a user-defined
-property via C<\p{...}> syntax. It simply dies instead [perl #82616].
+Also, Perl no longer allows a tainted regular expression to invoke a
+user-defined. It simply dies instead [perl #82616].
 
 =head1 Incompatible Changes
 

--
Perl5 Master Repository

Reply via email to