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";
}