Qiang has asked for the wisdom of the Perl Monks concerning the following question:
we are in process of introducing standards to our Perl development ( Perl is still relative new in this place ) . currently, the unix group supplies us a separate Perl under /usr/local/ and install every requested module for us into that tree. their support has been lacking due to the our usage of Perl going up. We often have to wait for weeks to have something installed.
thus, I am trying to find better way to manage modules by ourself. we have modules from CPAN, modules written by me and others.
been searching around, I have found some ideas from the following nodes.
to summary a bit:
in the end, if we have perl modules under /team/perl_lib/, we can just include that path in the "use lib '/team/perl_lib'; ".
that's fine for pure perl module. but i am uncertain how to deal with the XS module that required to compile. I am thinking about building XS modules in a desinated location and then copy it to the central Perl library dir. however, try building Text::CSV_XS today, the binary is stored under /build_dir/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/Text/. the Perl module is installed under /build_dir/lib/perl5/site_perl/5.8.7/sun4-solaris/Text/. how do i mix it with the pure Perl modules and still be able to use 'use lib '/team/perl_lib' ?
i am also interested in your take on module managment.. which method do you prefer and why?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: module management in enterprise?
by samtregar (Abbot) on Apr 04, 2007 at 21:18 UTC | |
by Qiang (Friar) on Apr 05, 2007 at 03:15 UTC | |
by samtregar (Abbot) on Apr 05, 2007 at 16:57 UTC | |
|
Re: module management in enterprise?
by derby (Abbot) on Apr 04, 2007 at 21:25 UTC | |
|
Re: module management in enterprise?
by Joost (Canon) on Apr 04, 2007 at 21:02 UTC | |
|
Re: module management in enterprise?
by lostsoul (Sexton) on Apr 05, 2007 at 12:45 UTC |