develooper Front page | perl.perl5.porters | Postings from October 2003

Access to Module::Build internal data

Johan Vromans
October 8, 2003 08:47
Access to Module::Build internal data
Message ID:
One of the things I often do in a Makefile.PL is generate an RPM .spec
file for the current module (kit) from a template. For this, I need to
change things like name and version in the template.

Is there an 'official' way to get this information from Module::Build?
I can use $build->{properties}->{dist_version} but I'd prefer to not
look under the hood as per OO conventions.


-- Johan Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About