Skip Menu |

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

Report information
The Basics
Id: 11608
Status: resolved
Priority: 0/
Queue: XML-XBEL

People
Owner: Nobody in particular
Requestors: rt.cpan [...] unser.net
Cc:
AdminCc:

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



Subject: Bug in Documentation
The manpage for XML::XBEL contains an example foreach my $bm ($xbel->bookmarks()) { print sprintf("%s points to %s\n", $_->title(), $_->href()); } The $_ should be $bm instead: foreach my $bm ($xbel->bookmarks()) { print $bm->title(), " points to ", $bm->href(), "\n"; }
Fixed in version 1.3 which will be released shortly. [guest - Mon Feb 21 16:11:46 2005]: Show quoted text
> The manpage for XML::XBEL contains an example > > foreach my $bm ($xbel->bookmarks()) { > print sprintf("%s points to %s\n", > $_->title(), > $_->href()); > } > > The $_ should be $bm instead: > > foreach my $bm ($xbel->bookmarks()) { > print $bm->title(), " points to ", $bm->href(), "\n"; > }