Hi,
I thought I'd point out (request?) that there may be for clarification in the "Adding new elements to the install process" section of the Cookbook page for Module::Build. I'll explain what I was trying to do, what my problems were, and where I think the docs were weak. I've got a collection of standalone scripts that I'm packaging for distribution. I'm adding a MyPackage.pm to put in the lib/ dir to hold the version number for the package. My scripts are all in a bin/ directory, which is picked up and copied by default. They rely on some files in share/, which was where I starting running into trouble. I see in the version 0.36, share directories are handled, but I'm having trouble getting that version to work stably. I'm on the latest version that the Ubuntu package manager will give me - 0.33. In my Build.PL file, I've got my $build = Module::Build->new ( module_name => "MyPackage", xml_files => { "share/one.xml" => "share/one.xml", "share/two.xml" => "share/two.xml", }, ); $build->add_build_element('xml'); $build->install_path(share => $build->install_base . "/share"); This is the best I can come up with to get the files copied over to the right place. I can't give the install_path attribute at the ->new call, because I don't yet know the base directory for the install. Am I right that the docs could use clarification here? Regards, Andrew