John Peacock wrote:
Sendu Bala wrote:
I'm not sure I've really understood you, but I have a package
(http://search.cpan.org/~sendu/bioperl-1.5.2_102/) where all the modules
take their version from one of the modules in the package. I get my
generated META.yml file to include the correct version for each module
by using a ModuleBuild subclass I call ModuleBuildBioperl, where I
override find_dist_packages(). Yes, I wish I didn't have to duplicate
all that code in my subclass. Perhaps someone can think of a generalized
and optional way of enabling the same effect.
You should probably just enumerate your subclasses and then build the data for
meta_add(), since you are not really interested in parsing what is actually in
the files.
I am, actually: I like to warn myself if one of the modules in my
package does actually have its own version defined.