Skip Menu |

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

Report information
The Basics
Id: 70638
Status: new
Priority: 0/
Queue: XML-Atom

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

Bug Information
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>