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.  It is kind of underhanded, but it may be a better way to go in
general (and it may be how I wind up doing it too).

John


-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Blvd
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Reply via email to