Quoth enoba...@gmail.com (Eric Wilhelm): > # from James E Keenan > # on Monday 12 July 2010 16:08: > > >Agreed. �In research I did on CPAN modules that contain XS, > >ExtUtils::MakeMaker was still used 10 times as often as Module::Build. > > It seems like authors lean toward EU::MM for XS because they've got so > many examples like that. Also, M::B's documentation about xs_files > handling was not always clear (and keeping them in lib/ must somehow > seem non-obvious since that difference has caught a lot of people.)
For a simple module with one .xs and one .pm it always seems unnecessary to create a whole tree just to put them in the right place. Obviously this changes as a distribution acquires more modules. The fact that a distribution can only have one XS file makes it even more strange to put it somewhere under lib/. (MB doesn't change that, right? If it does that needs more documentation, including specifying whether they get linked into one .so or many.) Ben