summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2019-12-04 10:05:35 -0500
committerJames E Keenan <jkeenan@cpan.org>2019-12-04 10:05:35 -0500
commit5e91ca38cafa2b006f7671e941287e05d31c2d97 (patch)
tree41d32513fce0761f5d289fd07d5b0d1f8bd4d8c2 /lib
parentb559988421f3c81cfdfb7449c5fc9e8254edd4c4 (diff)
downloadperl-5e91ca38cafa2b006f7671e941287e05d31c2d97.tar.gz
Correct inconsistent version numbers in English.pm
Per commit message by David Mitchell in 142a37fd (Jul 24 2013), the code changes affecting the performance of $`, $&, $' weren't fully enabled until 5.20. Hence, the documentation should caution for 5.18 and earlier. As reported by peterdd++ in https://github.com/Perl/perl5/pull/17344
Diffstat (limited to 'lib')
-rw-r--r--lib/English.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/English.pm b/lib/English.pm
index e40cc124a1..283cd01070 100644
--- a/lib/English.pm
+++ b/lib/English.pm
@@ -1,6 +1,6 @@
package English;
-our $VERSION = '1.10';
+our $VERSION = '1.11';
require Exporter;
@ISA = qw(Exporter);
@@ -13,7 +13,7 @@ English - use nice English (or awk) names for ugly punctuation variables
use English;
use English qw( -no_match_vars ) ; # Avoids regex performance
- # penalty in perl 5.16 and
+ # penalty in perl 5.18 and
# earlier
...
if ($ERRNO =~ /denied/) { ... }