On Mon, Sep 7, 2009 at 6:21 PM, Eric Wilhelm<enoba...@gmail.com> wrote: > # from David Golden > # on Monday 07 September 2009 14:40: > >>> use lib 'inc'; >>> use latest 'Module::Build'; >>... >>M::I installs an "inc::Module::Install" into the normal @INC libraries >>that allows bootstrapping the inc/ directory. It might be worth >>exploring that kind of approach. > > I would prefer to avoid its assumption about @INC ordering and contents.
That's a fair point, but hasn't M::I proved by now that it's assumptions about @INC are reasonable? (I don't feel strongly about this point, btw, just exploring boundaries of the design.) As to how to trigger the bundling, I'd suggest adding a "bundle_inc" parameter. Authors can either set it in Build.PL or just tack it onto the command line: Build dist --bundle_inc -- David