Skip Menu |

This queue is for tickets about the Search-Sitemap CPAN distribution.

Report information
The Basics
Id: 57260
Status: new
Priority: 0/
Queue: Search-Sitemap

Owner: Nobody in particular
Requestors: cpan [...]

Bug Information
Severity: Unimportant
Broken in: 2.10
Fixed in: (no value)

Subject: small documentation bug
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 297
Download (untitled) / with headers
text/plain 297b
The Search::Sitemap documentation says that the urls() function returns (an array of) Search::Sitemap::URL objects. It actually seems to return a Search::Sitemap::URLStore object, so to get an array of Search::Sitemap::URL objects you need to do $map->urls()->all() instead of simply $map->urls()

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to