In perl.git, the branch abigail/deprecation has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/db45fb546500da24b032d23e4b3773b4e74dd280?hp=16fe20a9b2665167e0eb747bd583d4497432492f>

- Log -----------------------------------------------------------------
commit db45fb546500da24b032d23e4b3773b4e74dd280
Author: Abigail <[email protected]>
Date:   Thu Nov 24 15:35:43 2016 +0100

    B::OP::terse will go away in Perl 5.28.
    
    Adjusted the deprecation message, and bumped the version of B::Terse.
-----------------------------------------------------------------------

Summary of changes:
 ext/B/B/Terse.pm        | 4 ++--
 pod/perldeprecation.pod | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ext/B/B/Terse.pm b/ext/B/B/Terse.pm
index 8e551c5..1749f32 100644
--- a/ext/B/B/Terse.pm
+++ b/ext/B/B/Terse.pm
@@ -1,6 +1,6 @@
 package B::Terse;
 
-our $VERSION = '1.06';
+our $VERSION = '1.07';
 
 use strict;
 use B qw(class @specialsv_name);
@@ -33,7 +33,7 @@ sub indent {
 # Don't use this, at least on OPs in subroutines: it has no way of
 # getting to the pad, and will give wrong answers or crash.
 sub B::OP::terse {
-    carp "B::OP::terse is deprecated; use B::Concise instead";
+    carp "B::OP::terse is deprecated and will go away in Perl 5.28; use 
B::Concise instead";
     B::Concise::b_terse(@_);
 }
 
diff --git a/pod/perldeprecation.pod b/pod/perldeprecation.pod
index 90861de..074ffd9 100644
--- a/pod/perldeprecation.pod
+++ b/pod/perldeprecation.pod
@@ -187,6 +187,13 @@ of the variable happened in Perl 5.25.3.
 Setting this variable will become a fatal error in Perl 5.28.
 
 
+=head3 C<< B::OP::terse >>
+
+This method, which just calls C<< B::Concise::b_terse >>, has been
+deprecated, and will disappear in Perl 5.28. Please use 
+C<< B::Concise >> instead.
+
+
 
 =head3 Use of inherited AUTOLOAD for non-method %s() is deprecated
 

--
Perl5 Master Repository

Reply via email to