Skip Menu | will be shut down on March 1st, 2021.

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

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

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

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

Subject: read() seems not to read
Download (untitled) / with headers
text/plain 517b
Execute the following code repeatedly - according to the docs, every time you execute this, a new url should be added (time changes the url). This doesn't happen, read doesn't seem to read the existing file contents. Also, if you happen to call $map->xml() after reading to introspect the contents, you always end up with an empty sitemap. use Search::Sitemap; my $map = Search::Sitemap->new(); $map->read( 'sitemap.xml' ); $map->add( loc => '' . time ); $map->write( 'sitemap.xml' );

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

Please report any issues with to