Subject: | Search::Sitemap::Index object can't be created |
When running the following example code (taken from the documentation)
use Search::SiteMap::Index;
my $index = Search::SiteMap::Index->new( file => 'sitemap-index.gz' );
it fails with error:
Can't locate object method "new" via package "Search::SiteMap::Index"
(perhaps you forgot to load "Search::SiteMap::Index"?) at
testmapindex.pl line 2.
This is ActiveState Perl, and Search-Sitemap was added from PPM.
perl -v reports:
This is perl, v5.10.1 built for MSWin32-x86-multi-thread
(with 2 registered patches, see perl -V for more detail)
I'm assuming this must have worked at some point, so maybe one of the
modules Search-Sitemap relies on was updated, and Search-Sitemap just
needs to be updated to match? Personally I wouldn't even know where to
start looking...