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

Access to Module::Build internal data

From:
Johan Vromans
Date:
October 8, 2003 08:47
Subject:
Access to Module::Build internal data
Message ID:
16260.12642.38119.322750@phoenix.squirrel.nl
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.

Suggestions?

-- Johan




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About