Skip Menu |

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

Report information
The Basics
Id: 17515
Status: resolved
Estimated: 20 min
Worked: 20 min
Priority: 0/
Queue: Pod-Parser

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

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



Subject: Pod::PlainText is Missing cmd_head3()
Date: Mon, 6 Feb 2006 21:13:51 -0800
To: bug-podparser [...] rt.cpan.org
From: David Wheeler <dwheeler [...] cpan.org>
=head3 tags have been legal POD for quite some time, but I recently ran into this in Pod::PlainText 2.02: Can't locate object method "cmd_head3" via package "Pod::Readme" at / usr/local/lib/perl5/5.8.7/Pod/PlainText.pm line 152, <GEN8> line 87. The solution is to implement cmd_head3(). Something like this, perhaps? # Third level heading. sub cmd_head3 { my $self = shift; local $_ = shift; s/\s+$//; $_ = $self->interpolate ($_, shift); if ($$self{alt}) { $self->output ("\n= $_ =\n"); } else { $self->output (' ' x ($$self{indent}) . $_ . "\n"); } }
Will be included in next release. -Marek