On Thu Apr 05 17:19:14 2007, SBURKE wrote:
Show quoted text> > I'm kind of surprised that =encoding isn't supported by perldoc, since
> > its mentioned in perlpod. I figure this is a bug in Pod::Perldoc or
> > perlpod, so I'm starting here.
>
> Upgrade your Pod::Simple and retry.
>
Tried, identical errors. Here's all the info I think relevant to this:
* perl 5.8.8 and perl-doc 5.8.8 Ubuntu packages installed
* perl-doc doesn't install Pod::Simple or Pod::Escapes, and yet
perldoc S05.pm produces the errors and mostly formats S05 (e.g.) ok.
* cpan install Pod::Simple pulls in Pod::Escapes, and I still get
identical errors
* > grep -i version /usr/share/perl/5.8/Pod/Perldoc.pm
$VERSION = '3.14';
* > grep -i version /usr/share/perl5/Pod/Simple.pm
$VERSION = '3.04';
* > grep -i version /usr/share/perl5/Pod/Escapes.pm
$VERSION = '1.04';
* Also tested with:
Show quoted text > grep -i version
/home/krishna/cvswork/perllib/local/share/perl/5.8.8/Pod/Simple.pm
$VERSION = '3.05';
Did a 'sudo aptitude remove libpod-simple-perl' so I know it's picking up
this Simple.pm if/when it does within perldoc.
Identical errors.
* Ubuntu 6.10, installed items only from the main distribution. Other than
the items installed above from CPAN for testing, all modules were
installed using 'sudo aptitude install'. If you have access to an Ubuntu
system of any revision, I'd like to know if you can view the synopses
per the svn URL I provided.
If you have a set of perl versions/perl module versions that can format
the synopses without errors, I'd like to know what they are (and
hopefully get them fixed or a minimum version number documented in
perlpod to handle =encoding, etc).
If this is a problem with Ubuntu's packaging system, I sincerely
apologize for taking your time. But I'd think that since the core
perlpod documentation in 5.8.8 mentions =encoding, and the base perldoc
program can't handle it (but can work ok without Pod::Simple or
Pod::Escape), I suspected there's a bug in either the documentation or a
missing feature in the code.