Skip Menu |

This queue is for tickets about the Pod-Parser CPAN distribution.

Report information
The Basics
Id: 30672
Status: resolved
Priority: 0/
Queue: Pod-Parser

People
Owner: Marek.Rouchal [...] gmx.net
Requestors: ELLIOTJS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.36



Subject: Pod::Checker 1.43 does not recognize the =encoding directive.
It gives an error for any use of =encoding.
Subject: foo.pod
=encoding utf8; =head1 An example. 'Twas brillig, and the slithy toves did gyre and gimble in the wabe.
From: Marek.Rouchal [...] gmx.net
Which perl version is supposed to allow =encoding as a POD directive? Please see "perlpod" and "perlpodspec" manual pages. -Marek On Mo. 12. Nov. 2007, 11:42:54, ELLIOTJS wrote: Show quoted text
> It gives an error for any use of =encoding.
From: ELLIOTJS [...] cpan.org
On Tue Nov 13 03:15:56 2007, MAREKR wrote: Show quoted text
> Which perl version is supposed to allow =encoding as a POD directive? > Please see "perlpod" and "perlpodspec" manual pages.
The perlpodspec page lists the =encoding directive right after the =for directive: http://perldoc.perl.org/perlpodspec.html.
From: ELLIOTJS [...] cpan.org
On Tue Nov 13 03:15:56 2007, MAREKR wrote: Show quoted text
> Which perl version is supposed to allow =encoding as a POD > directive?
It looks like perl 5.8.0 does not have it, but 5.8.1 does.
Subject: [rt.cpan.org #30672] Pod::Checker 1.43 does not recognize the =encoding directive.
Date: Sat, 24 Nov 2007 01:11:30 -0200
To: bug-Pod-Parser [...] rt.cpan.org
From: "Adriano Ferreira" <a.r.ferreira [...] gmail.com>
At Nov 15, 2007, Pod::Checker was patched at bleadperl with Change 32330 by Steve Peters (http://groups.google.com/group/perl.perl5.porters/msg/4ed9e346e1a3e2a2) (http://public.activestate.com/cgi-bin/perlbrowse?patch=32330). It was a very minimal change, only enough to make podchecker to accept POD documents with the =encoding directive. (Note. This was released with Perl 5.10.0-RC1, now in CPAN.) The attached patch brings Steve's patch plus a dumb test. Cheers, Adriano Ferreira

Message body is not shown because sender requested not to inline it.

Thanks for the patch! Will be applied in Pod-Parser-1.36, slightly adapted. -Marek