Hi Paul,

That's an interesting question, and I have a few thoughts below.  Before I get 
to those, I wanted
to point out an issue with the way you started your email with "Hey Gents": the 
Raku community 
includes many talented women, and I'd love to see it include more.

On to the technical question:

> Given this, I'd like the main program to perform a prefix search of installed 
> modules with that
> namespace as a prefix, load said modules it finds, perform callbacks that I 
> would designate as
> being required to successfully load the module, etc.

I _believe_ something like this should be possible with 
CompUnit::Repository::Installation, or 
maybe with CompUnit::RepositoryRegistry.  I say "believe" both because I 
haven't tried it myself
and because the documentation for CompUnit isn't yet very complete – indeed, 
::RepositoryRegistry
seems to be entirely undocumented.

The docs at 
https://docs.raku.org/type/CompUnit::Repository::Installation#method_candidates 
might
be a good starting point, but this is unfortunately an area that will probably 
take a bit more 
digging in the source. If you find a good solution, please let us all know – as 
I said, it's an
interesting question.

I hope that was helpful!

Reply via email to