diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2012-01-25 09:26:18 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2012-01-25 11:10:39 +0000 |
commit | 1051d5b55e7598ac2977a16131312f8a760a3409 (patch) | |
tree | fbf27ea1c520bb1acf977251028aeef9a668b544 /cpan/Pod-Parser | |
parent | 919f76a3449f063cc80397cca2b402c89b2e5f07 (diff) | |
download | perl-1051d5b55e7598ac2977a16131312f8a760a3409.tar.gz |
Update Pod-Parser to CPAN version 1.51
[DELTA]
25-Jan-2012 Marek Rouchal <marekr@cpan.org>
-----------------------------------------------------------------------------
Version 1.51
+ CPAN#74271: Pod::Parser should not flag L<text|hyperlink>
undo change CPAN#47473: L<alt text|URL> _is_ allowed (see discussion on
pod-people and p5p); confirmed by blead change; references:
http://code.activestate.com/lists/perl-pod-people/1690/
http://code.activestate.com/lists/perl-pod-people/1393/
http://perl5.git.perl.org/perl.git/commit/f6e963e4dd62b8e3c01b31f4a4dd57e47e104997
+ bump all module versions (except Pod::PlainText) to 1.51
+ update META.yml (thanks rjbs for the hint)
Diffstat (limited to 'cpan/Pod-Parser')
-rw-r--r-- | cpan/Pod-Parser/lib/Pod/Checker.pm | 18 | ||||
-rw-r--r-- | cpan/Pod-Parser/lib/Pod/Find.pm | 2 | ||||
-rw-r--r-- | cpan/Pod-Parser/lib/Pod/InputObjects.pm | 2 | ||||
-rw-r--r-- | cpan/Pod-Parser/lib/Pod/ParseUtils.pm | 2 | ||||
-rw-r--r-- | cpan/Pod-Parser/lib/Pod/Parser.pm | 2 | ||||
-rw-r--r-- | cpan/Pod-Parser/lib/Pod/Select.pm | 2 | ||||
-rw-r--r-- | cpan/Pod-Parser/lib/Pod/Usage.pm | 2 | ||||
-rw-r--r-- | cpan/Pod-Parser/t/pod/poderrs.t | 2 | ||||
-rw-r--r-- | cpan/Pod-Parser/t/pod/poderrs.xr | 1 |
9 files changed, 8 insertions, 25 deletions
diff --git a/cpan/Pod-Parser/lib/Pod/Checker.pm b/cpan/Pod-Parser/lib/Pod/Checker.pm index 335ceee043..25dab197b0 100644 --- a/cpan/Pod-Parser/lib/Pod/Checker.pm +++ b/cpan/Pod-Parser/lib/Pod/Checker.pm @@ -11,7 +11,7 @@ package Pod::Checker; use strict; use vars qw($VERSION @ISA @EXPORT %VALID_COMMANDS %VALID_SEQUENCES); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later use Pod::ParseUtils; ## for hyperlinks and lists @@ -154,14 +154,6 @@ The given link to I<NAME> does not have a matching node in the current POD. This also happened when a single word node name is not enclosed in C<"">. -=item * hyperlink to URL with alt text deprecated in perlpodspec - -Absolute hyperlinks with alternative text like -C<LE<lt>The Perl Home Page|http://www.perl.orgE<gt>> are discouraged in -L<perlpodspec>. There is a section in L<perlpod> though, which allows this -option. As L<perlpodspec> is the more modern document containing the essence -of many prior discussions, L<Pod::Checker> flags this as an error. - =item * Unknown command "I<CMD>" An invalid POD command has been found. Valid are C<=head1>, C<=head2>, @@ -807,14 +799,6 @@ sub end_pod { -msg => "unresolved internal link '$node'"}); } } - if($link->type() eq 'hyperlink') { - my $alt = $link->alttext(); - if(defined($alt) && length($alt)) { - $self->poderror({ -line => $line || '', -file => $infile, - -severity => 'ERROR', - -msg => "hyperlink to URL with alt text deprecated in perlpodspec"}); - } - } } # check the internal nodes for uniqueness. This pertains to diff --git a/cpan/Pod-Parser/lib/Pod/Find.pm b/cpan/Pod-Parser/lib/Pod/Find.pm index f4f05a034b..028a405c79 100644 --- a/cpan/Pod-Parser/lib/Pod/Find.pm +++ b/cpan/Pod-Parser/lib/Pod/Find.pm @@ -14,7 +14,7 @@ package Pod::Find; use strict; use vars qw($VERSION); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later use Carp; diff --git a/cpan/Pod-Parser/lib/Pod/InputObjects.pm b/cpan/Pod-Parser/lib/Pod/InputObjects.pm index a2dc0ce489..2ed71fa255 100644 --- a/cpan/Pod-Parser/lib/Pod/InputObjects.pm +++ b/cpan/Pod-Parser/lib/Pod/InputObjects.pm @@ -12,7 +12,7 @@ package Pod::InputObjects; use strict; use vars qw($VERSION); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later ############################################################################# diff --git a/cpan/Pod-Parser/lib/Pod/ParseUtils.pm b/cpan/Pod-Parser/lib/Pod/ParseUtils.pm index 584bc6d8f0..3c74d78680 100644 --- a/cpan/Pod-Parser/lib/Pod/ParseUtils.pm +++ b/cpan/Pod-Parser/lib/Pod/ParseUtils.pm @@ -11,7 +11,7 @@ package Pod::ParseUtils; use strict; use vars qw($VERSION); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later =head1 NAME diff --git a/cpan/Pod-Parser/lib/Pod/Parser.pm b/cpan/Pod-Parser/lib/Pod/Parser.pm index d54b773673..9a6acd62f1 100644 --- a/cpan/Pod-Parser/lib/Pod/Parser.pm +++ b/cpan/Pod-Parser/lib/Pod/Parser.pm @@ -12,7 +12,7 @@ use strict; ## These "variables" are used as local "glob aliases" for performance use vars qw($VERSION @ISA %myData %myOpts @input_stack); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later ############################################################################# diff --git a/cpan/Pod-Parser/lib/Pod/Select.pm b/cpan/Pod-Parser/lib/Pod/Select.pm index 828d7bd8ad..300eee537e 100644 --- a/cpan/Pod-Parser/lib/Pod/Select.pm +++ b/cpan/Pod-Parser/lib/Pod/Select.pm @@ -11,7 +11,7 @@ package Pod::Select; use strict; use vars qw($VERSION @ISA @EXPORT $MAX_HEADING_LEVEL %myData @section_headings @selected_sections); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later ############################################################################# diff --git a/cpan/Pod-Parser/lib/Pod/Usage.pm b/cpan/Pod-Parser/lib/Pod/Usage.pm index 8a7068a34d..d060b275d1 100644 --- a/cpan/Pod-Parser/lib/Pod/Usage.pm +++ b/cpan/Pod-Parser/lib/Pod/Usage.pm @@ -11,7 +11,7 @@ package Pod::Usage; use strict; use vars qw($VERSION @ISA @EXPORT); -$VERSION = '1.50'; ## Current version of this package +$VERSION = '1.51'; ## Current version of this package require 5.005; ## requires this Perl version or later =head1 NAME diff --git a/cpan/Pod-Parser/t/pod/poderrs.t b/cpan/Pod-Parser/t/pod/poderrs.t index 664e670aa8..03ecc5b73b 100644 --- a/cpan/Pod-Parser/t/pod/poderrs.t +++ b/cpan/Pod-Parser/t/pod/poderrs.t @@ -119,7 +119,7 @@ L<oho > L<"Warnings"> this one is ok L</unescaped> ok too, this POD has an X of the same name L<http://www.perl.org> this is OK -L<The Perl Home Page|http://www.perl.org> this is not OK +L<The Perl Home Page|http://www.perl.org> this is also OK =head2 Warnings diff --git a/cpan/Pod-Parser/t/pod/poderrs.xr b/cpan/Pod-Parser/t/pod/poderrs.xr index 8534d9e177..8c16609b20 100644 --- a/cpan/Pod-Parser/t/pod/poderrs.xr +++ b/cpan/Pod-Parser/t/pod/poderrs.xr @@ -50,5 +50,4 @@ *** ERROR: unresolved internal link 'end with begin' at line 109 in file t/pod/poderrs.t *** ERROR: unresolved internal link 'OoPs' at line 110 in file t/pod/poderrs.t *** ERROR: unresolved internal link 'abc def' at line 114 in file t/pod/poderrs.t -*** ERROR: hyperlink to URL with alt text deprecated in perlpodspec at line 122 in file t/pod/poderrs.t *** ERROR: unresolved internal link 'I/O Operators' at line 213 in file t/pod/poderrs.t |