In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/c42fde619a5536f7365e04b0ea569a21881b92ee?hp=5b7de4707c48a8a0db05809d0fb1300ab4d3c4c9>

- Log -----------------------------------------------------------------
commit c42fde619a5536f7365e04b0ea569a21881b92ee
Author: Karl Williamson <[email protected]>
Date:   Sun Mar 8 10:22:35 2015 -0600

    t/test.pl: Remove use of more recent feature
    
    This file is copied into the "threads" CPAN distribution, and the addition
    of this modern feature (/a pattern modifier) required them to issue a
    modified version of this file.  Since the effect of /a can easily be
    achieved in other, though less clear, ways using longer established
    syntaxes, use those with a clarifying comment.
    
    See https://rt.perl.org/Ticket/Display.html?id=124013
-----------------------------------------------------------------------

Summary of changes:
 t/test.pl | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/t/test.pl b/t/test.pl
index 3cfb1c4..de82e94 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -4,12 +4,15 @@
 
 # NOTE:
 #
-# Increment ($x++) has a certain amount of cleverness for things like
+# It's best to not features found only in more modern Perls here, as some cpan
+# distributions copy this file and operate on older Perls.  Similarly keep
+# things simple as this may be run under fairly broken circumstances.  For
+# example, increment ($x++) has a certain amount of cleverness for things like
 #
 #   $x = 'zz';
 #   $x++; # $x eq 'aaa';
 #
-# stands more chance of breaking than just a simple
+# This stands more chance of breaking than just a simple
 #
 #   $x = $x + 1
 #

--
Perl5 Master Repository

Reply via email to