# from Eric Wilhelm # on Monday 29 September 2008: ># from Ken Williams >>We're not limited to using it for M::B, we've already got the start >> of a general-purpose bundled-dist loader, check out inc/latest.pm . > >Where is the documentation and/or tests? Is it remotely ready to > roll? What's the basic procedure for using it?
As of right now: svn co https://svn.perl.org/modules/Module-Build/trunk \ /path/to/Module-Build/ cd /path/to/your-dist perl /path/to/Module-Build/scripts/bundle.pl And then start your Build.PL with: use lib 'inc'; use latest 'Module::Build'; >Should a dummy distribution using it be sent to CPAN for the testers? Anybody want to try it? http://scratchcomputing.com/tmp/CPTDP5BB-v0.0.1.tar.gz That's a CPAN-Test-Dummy-Perl5-Build-Bundled, based on what Andreas already has used for dummy namespaces. If he wants to put it up or doesn't mind the name, or whatever. >From my reading, the tricky part is checking whether it works for >bundling something besides Module::Build. And this also doesn't provide `./Build dist --bundled` or something, which is a different thing than when you just have a checkout or unpacked tarball. To do that, we would need to stick the latest.pm somewhere in the install tree and probably just copy all of the .pm files from the packlist, prepend to the Build.PL, MANIFEST, etc. --Eric -- "...the bourgeoisie were hated from both ends: by the proles, because they had all the money, and by the intelligentsia, because of their tendency to spend it on lawn ornaments." --Neal Stephenson --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------