This queue is for tickets about the XML-Atom CPAN distribution.

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

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

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



Subject: better documentation of XML::Atom::Entry->content
Date: Wed, 31 Aug 2011 12:07:17 +0200
To: bug-XML-Atom@rt.cpan.org
From: Ansgar Burchardt <ANSGAR@cpan.org>
Hi, this request to improve the documentation was filed in Debian's bug tracking system[1]: --8<---------------cut here---------------start------------->8--- The documentation should make clear (particularly since there's no man page for Content.pm) that unlike the other XML::Atom::Entry methods, the 'content' method returns a content object, not a simple string. The documentation contains an example: $entry->content('Post Body'); I suggest that it also contain something like: $content_body = $entry->content->body --8<---------------cut here---------------end--------------->8--- Regards, Ansgar [1] <http://bugs.debian.org/554121>


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.