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

<http://perl5.git.perl.org/perl.git/commitdiff/106d2044daca0168c78a7225de67263a4a411fb3?hp=4b8cbb422f2087e636cf7d764d5392bcd7b3d0af>

- Log -----------------------------------------------------------------
commit 106d2044daca0168c78a7225de67263a4a411fb3
Author: Abigail <[email protected]>
Date:   Thu Nov 24 12:40:04 2016 +0100

    Don't recognize the --libpods option in Pod::Html
    
    Since Perl 5.18, the --libpods option has been recognized, but
    did not do anything other than issue a deprecation warnings.
    As of now, using the --libpods option creates an error.
    
    The version number of Pod::Html has bumped to 1.2202.
-----------------------------------------------------------------------

Summary of changes:
 ext/Pod-Html/lib/Pod/Html.pm |  6 ++----
 pod/perldeprecation.pod      | 10 ++++++++++
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/ext/Pod-Html/lib/Pod/Html.pm b/ext/Pod-Html/lib/Pod/Html.pm
index cef329e..5b34636 100644
--- a/ext/Pod-Html/lib/Pod/Html.pm
+++ b/ext/Pod-Html/lib/Pod/Html.pm
@@ -3,7 +3,7 @@ use strict;
 require Exporter;
 
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
-$VERSION = 1.2201;
+$VERSION = 1.2202;
 @ISA = qw(Exporter);
 @EXPORT = qw(pod2html htmlify);
 @EXPORT_OK = qw(anchorify);
@@ -486,7 +486,7 @@ sub parse_command_line {
     my ($opt_backlink,$opt_cachedir,$opt_css,$opt_flush,$opt_header,
         $opt_help,$opt_htmldir,$opt_htmlroot,$opt_index,$opt_infile,
         $opt_outfile,$opt_poderrors,$opt_podpath,$opt_podroot,
-        $opt_quiet,$opt_recurse,$opt_title,$opt_verbose,$opt_libpods);
+        $opt_quiet,$opt_recurse,$opt_title,$opt_verbose);
 
     unshift @ARGV, split ' ', $Config{pod2html} if $Config{pod2html};
     my $result = GetOptions(
@@ -500,7 +500,6 @@ sub parse_command_line {
                        'htmlroot=s' => \$opt_htmlroot,
                        'index!'     => \$opt_index,
                        'infile=s'   => \$opt_infile,
-                       'libpods=s'  => \$opt_libpods, # deprecated
                        'outfile=s'  => \$opt_outfile,
                        'poderrors!' => \$opt_poderrors,
                        'podpath=s'  => \$opt_podpath,
@@ -516,7 +515,6 @@ sub parse_command_line {
     $opt_help = "";                     # just to make -w shut-up.
 
     @Podpath  = split(":", $opt_podpath) if defined $opt_podpath;
-    warn "--libpods is no longer supported" if defined $opt_libpods;
 
     $Backlink  =          $opt_backlink   if defined $opt_backlink;
     $Cachedir  = _unixify($opt_cachedir)  if defined $opt_cachedir;
diff --git a/pod/perldeprecation.pod b/pod/perldeprecation.pod
index 468cad2..2e21989 100644
--- a/pod/perldeprecation.pod
+++ b/pod/perldeprecation.pod
@@ -211,6 +211,16 @@ C<use AutoLoader 'AUTOLOAD';>.
 This feature was deprecated in Perl 5.004, and will be fatal in Perl 5.28.
 
 
+=head2 Perl 5.26
+
+=head3 C<< --libpods >> in C<< Pod::Html >>
+
+Since Perl 5.18, the option C<< --libpods >> has been deprecated, and
+using this option did not do anything other than producing a warning.
+
+The C<< --libpods >> option is no longer recognized in Perl 5.26.
+
+
 
 =head2 Perl 5.24
 

--
Perl5 Master Repository

Reply via email to