leocharre has asked for the wisdom of the Perl Monks concerning the following question:

We have these diff apps and libraries, etc, modules, inhouse. I was thinking we should have a default place where we put some resources, like /devel/lib or .. what is an appropriate place? These are not full blown cpan worthy modules, just devel stuff..

what would be a truly appropriate place, that adheres to the community's standards? Suggestions ?

  • Comment on where to store pre puberty modules on a box

Replies are listed 'Best First'.
Re: where to store pre puberty modules on a box
by diotalevi (Canon) on Feb 25, 2006 at 18:02 UTC

    Give them a default Makefile.PL and let them install themselves into the normal place. Just because you never send it to CPAN doesn't mean you should remove the installer!

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Re: where to store pre puberty modules on a box
by xdg (Monsignor) on Feb 25, 2006 at 17:09 UTC

    I don't know that there is a "community standard". However, I've seen many advocate naming "local" modules under the Local:: namespace and thus installing them in the "Local/" subdirectory of the perl site library directory. Another alternative is to name them after a company or author.

    You can also put them outside the standard perl library directories and just set the PERL5LIB environment variable.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.