Subject: | Search::Sitemap::Index object can't be created |
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: | 770 |
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...