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

Re: Access to Module::Build internal data

Thread Previous
Slaven Rezic
October 8, 2003 09:19
Re: Access to Module::Build internal data
Message ID:
Johan Vromans <> wrote:
> 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?

use YAML; YAML::LoadFile("META.yml");


Slaven Rezic - slaven <at> rezic <dot> de

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