Re: DWIM bundling

"Curtis Jewell" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
On Tue, 08 Sep 2009 11:02 +0100, "Zefram" <[email protected]> wrote:
> Eric Wilhelm wrote:
> >          It also allows you to have an inc-latest dist on the CPAN 
> >with its own set of dependencies
> 
> Eww.  "inc::" means "included in this distribution"; installing anything
> in that namespace would mislead.  If you want a module that can come

*cough* Module::Install *cough*

When you install it, it installs a small bootstrapper in
site/inc/Module/ that copies itself and all the rest of the modules to
My-Dist/inc when executed in "author mode" (My-Dist/inc/.author
directory exists, iirc - it creates that directory if My-Dist/inc did
not exist.) - I'm not saying I agree with it, just that that's what it
does.

It's an ugly hack, but makes the dwimmery easy.

--Curtis

> either from the distribution or from the installed stuff, give it a name
> of its own and an explicit protocol.
> 
> -zefram
--
Curtis Jewell
[email protected]

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and pictures in HTML mail]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.