# from wu-lee
# on Wednesday 22 August 2007 08:04 am:

>I'm pretty sure installing files to standard locations such as $etc,
>$var, $usr_lib, and setting permissions are common things to want to
> do, at least it's a common problem for me, but so far as I know none
> of the CPAN frameworks (ExtUtils::MakeMaker, Module::Install, and
> what I'm using currenly, Module::Build) seem to support that
> directly.
>
>Naively you might think this should be as transparent as installing
> .pm files.  I'm sure it isn't, but I also wonder why there doesn't
> seem to be many (any?) modules which try to tackle it, since it'd
> seem to be such a common requirement.

Hi Nick,

We've seen similar questions a few times and I don't think they've ever 
really been solved.

I think we're lacking a set of "standard practices" for such tasks, 
which would need to be described in a cross-platform manner.  Without 
knowing the desired behavior, it is difficult to support it with an 
implementation.

From your reading, would you be able to put together such a guide?  
Possibly on the perl5 wiki or as an RFC?  It sounds like it may have 
been solved on a case-by-case basis in the distributions to which you 
refer.  Having a summary of their general approach and referenced code 
snippets would certainly be a good starting point.

I'm not sure if it will work-out best as a plugin or as being directly 
supported in Module::Build, but I would be happy to assist and would 
love to get something into the documentation.

--Eric
-- 
Chicken farmer's observation:  Clunk is the past tense of cluck.
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to