Module::Build weirdness

stvn_skuo on 2005-10-24T20:54:17


I would have sworn that Module::Build had been doing "the right thing" all along.



Given


lib/Foo/foo.PL
and

PL_files => {
   'lib/Foo/foo.PL' => 'lib/Foo/foo.xml',
}



I saw it copy foo.xml into the blib directory, etc.



I added one more item to PL_files, re-ran Build.PL, re-ran my tests, and all of a sudden the xml files were no longer being copied into blib thus causing tests to fail.



No worries as all was well again after I added



$builder->add_build_element('xml');