[Module::Build] Getting started help
Status: Beta
Brought to you by:
kwilliams
From: Lindiakos, F. <fli...@mi...> - 2006-06-20 16:50:52
|
I am having a little trouble with 2 things, and I was hoping I could get some assistance. I apologize if you've seen me ask this elsewhere, but I am getting no responses from anybody. First, is there a way for me to put something like hc.conf into /etc (assuming I have permission to write there. Where would I have to put the file in the package (under lib, or can I have an etc folder or something too)? Second, how can I have CPAN automatically build missing dependencies, or query for them or something. On that note (not M::B specific), is there a way that I can test using CPAN to install my modules? =20 Any help is greatly appreciated, Fotios Lindiakos http://www.mitre.org =20 PS - this is what I have for the Build.PL so far, and it works manually installing it (via ./Build make etc....) save putting hc.conf into /etc ----------------------------------------------- my $build =3D Module::Build->new ( module_name =3D> 'HC::U', dist_author =3D> 'fo...@ba...' <mailto:kn...@mi...>'> = , dist_abstract =3D> 'A collection of packages', dist_version =3D> '0.01', license =3D> 'gpl', requires =3D> { 'Carp' =3D> 0, 'Config::General' =3D> 0, 'SOAP::Lite' =3D> '>=3D 0.67', 'SOAP::Transport::HTTP' =3D> 0, }, auto_features =3D> { YAML_support =3D> { description =3D> 'Use YAML.pm to write META.yml files', requires =3D> { YAML =3D> ' >=3D = 0.35, !=3D 0.49_01 ' }, }, manpage_support =3D> { description =3D> 'Create UNIX man = pages', requires =3D> { 'Pod::Man' =3D> 0 }, }, }, add_to_cleanup =3D> [ 'HC-*' ] ); $build->add_build_element('conf'); $build->create_build_script; |