Discussion:
Indexer artefacts (due to MooseX::Declare?)
(too old to reply)
Steffen Schwigon
2009-02-11 10:06:12 UTC
Permalink
Hi!

Can someone please have a look on my distribution "Data::DPath"?

- http://search.cpan.org/~schwigon/Data-DPath-0.05/
- http://search.cpan.org/~schwigon/Data-DPath/
- http://search.cpan.org/search?query=Data%3A%3ADPath&mode=all


I fiddle with several issues:

- only the base class is indexed and visible

- http://search.cpan.org/~schwigon/Data-DPath/ still points to 0.01
but the other versions are not shown as "Other Releases", not even
the v0.05 which is at least found by the search.

- http://search.cpan.org/~schwigon/Data-DPath-0.05/ shows some
modules as UNAUTHORIZED, although I'm the owner of the namespace,
as v0.01 shows.

(The other module from James G Smith that you find with search is
only a dev release and he kindly allowed me to use that namespace.)


My theory:

It's all due to my use of MooseX::Declare and the nice "class"
keyword.

I already had to explicitely write the $VERSION with classical
"package style", as you can see in

http://cpansearch.perl.org/src/SCHWIGON/Data-DPath-0.05/lib/Data/DPath.pm

But it didn't solve the "Other Releases" problem.


What to do?

Should I everywhere just write such a "package" line at the end of
each module so the indexer can see it?

I'm not sure because, strangely, he already sees some modules as
Documentation but not as modules.


Thanks.

Kind regards,
Steffen
--
Steffen Schwigon <***@renormalist.net>
Dresden Perl Mongers <http://dresden-pm.org/>
German Perl-Workshop 2009 <http://www.perl-workshop.de/en/2009>
Ricardo SIGNES
2009-02-11 13:37:06 UTC
Permalink
Post by Steffen Schwigon
- http://search.cpan.org/~schwigon/Data-DPath-0.05/ shows some
modules as UNAUTHORIZED, although I'm the owner of the namespace,
as v0.01 shows.
v0.01 shows no such thing. The item shown in 0.01 is indexed as documentation,
not code, because it contains no "package" statement. (Yes, I know how
MX::Declare works, but the PAUSE indexer does not.)
Post by Steffen Schwigon
Should I everywhere just write such a "package" line at the end of
each module so the indexer can see it?
Yes.
--
rjbs
Loading...