[KinoSearch] Incomplete "provides" in META.yml causes problems for PAR

Darian Anthony Patrick darian at criticode.com
Fri Jan 22 22:56:03 PST 2010


Hi,

I noticed that the "provides" section in META.yml is incomplete.  This
causes problems when KinoSearch is packaged as a PAR and an attempt is
made to use a package from that PAR when the PAR is stored in a PAR
repository.

I encountered the problem when a "use KinoSearch::Searcher" statement
exists in a script.  Since KinoSearch::Searcher is not listed in the
"provides" section, it is not indexed by PAR::Repository and is
therefore not locatable.  In order to use KinoSearch::Searcher in a
script, one has to first "use KinoSearch::Indexer" or any other class
that is named in "provides".

I'm wondering if there is a reason that "provides" is incomplete, both
in terms of this module and generally speaking.  Is "provides" expected
to list every class/.pm provided by a given module?

-- 
Darian Anthony Patrick, Criticode LLC
Office:     (215) 789-9956
Facsimile:  (866) 789-2992
XMPP/SMTP:  darian at criticode.com
Web:        http://criticode.com
=================================================
BCF1 E7AD 15AD 8A99 F613 AF5F 2A9C C45C F580 E087
=================================================



More information about the kinosearch mailing list