Bug#554121: libxml-atom-perl: better documentation of XML::Atom::Entry->content

Celejar celejar at gmail.com
Tue Nov 3 00:59:24 UTC 2009


Package: libxml-atom-perl
Version: 0.34-1
Severity: normal


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

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-rc5-lizzie-00402-gb6727b1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libxml-atom-perl depends on:
ii  libclass-data-inheritable-pe 0.08-1      Inheritable, overridable class dat
ii  libdatetime-perl             2:0.4900-1  perl DateTime - Reference implemen
ii  libdigest-sha1-perl          2.12-1      NIST SHA-1 message digest algorith
ii  libhtml-parser-perl          3.64-1      collection of modules that parse H
ii  liblwp-authen-wsse-perl      0.05-1      Library for enabling X-WSSE authen
ii  liburi-perl                  1.37+dfsg-1 Manipulates and accesses URI strin
ii  libwww-perl                  5.833-1     Perl HTTP/WWW client/server librar
ii  libxml-libxml-perl           1.70.ds-1   Perl interface to the libxml2 libr
ii  libxml-libxslt-perl          1.68-3      Perl module for using the GNOME li
ii  perl                         5.10.1-6    Larry Wall's Practical Extraction 

libxml-atom-perl recommends no packages.

libxml-atom-perl suggests no packages.

-- debconf-show failed





More information about the pkg-perl-maintainers mailing list