Eric Wilhelm wrote:
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.
Well, I'm no expert but time permitting, I can have a go, and maybe
it'll get the ball rolling. I'm not sure if the modules I mentioned
solve the problem for all platforms - although Linux and Win32 probably
have been. Compiling the info for all the others listed in
%Module::Build::OSTYPES sounds like a fairly big research task...
I'm not sure what would be the format for writing an RFC, so I'd
probably tend towards contributing to the wiki (there's a wiki? oh, so
there is). Somewhere below here I presume?
http://www.perlfoundation.org/perl5/index.cgi?building_and_deploying_perl_packages_applications
N