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

Report information
The Basics
Id:
82191
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
grousse [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
0.27
Fixed in:
(no value)



Subject: Crash when rendering content
The attached test case triggers an exceptions with Module::Path: [guillaume@beria ~]$ perl test.pl /usr/lib/perl5/vendor_perl/5.16.2/Module/Path.pm Can't call method "present" without a package or object reference at /usr/lib/perl5/vendor_perl/5.12.2/Pod/POM/View/Text.pm line 167
Subject: test.pl
#!/usr/bin/perl use Pod::POM; use Pod::POM::View::Text; my $parser = Pod::POM->new(); my $pom = $parser->parse_file(shift); foreach my $head1 ($pom->head1) { next unless $head1->title eq 'DESCRIPTION'; my $pom = $head1->content(); my $text = $pom->present('Pod::POM::View::Text'); my @paragraphs = split /\n\n/, $text; splice @paragraphs, 3 if @paragraphs > 3; print join "\n\n", @paragraphs; }


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.