perldist-zilla

How to list multiple ".pm" modules in dist.ini (Dist::Zilla)


I made a module - FASTX::Reader - that consisted of a single .pm file, and packaged it with Dist::Zilla.

Now I added two more related modules. I did not change anything in dist.ini and this does not stop dzil to package everything and all the modules are shown in MetaCPAN.

I was wondering, is there a way of explicitly advertising the modules in a package in dist.ini? What is the recommended method of dealing with multi .pm packages?

PS: I understand the question is vague but my limited knowledge in modules makes this hard, but I'd like to understand a little bit more. Thanks for your patience.


Solution

  • Apparently, there is no need (and possibly no way) of explicitly listing the provided modules in dist.ini. As Håkon Hægland noted, there is a main module (the one in name = Module::Name in dist.ini) that will be used for deriving the version of the package.