This is how we manage it in my shop:
- Our server code (perl) and any modules which we use but modify heavily go into a source code repository. Perforce, actually... not cvs. It costs money but IMHO it is worth it. It's really not that expensive and it's excellent software, multi-platform, very scriptable.
- Standard modules which we use get loaded into a general system image which we sync out to all of our servers, along with standard binaries and non-perl libraries... even the O/S (currently SLES7).
- There is a little bit of a review process before we add libraries to that image. It's worth it. Any old idiot can slap something up on CPAN. Saying "it's safe because it's on CPAN" is kind of like saying "it must be true, I saw it on the web."
As for you, what is best really depends a lot on what you intend to do with this perl code. Where I work: we write a large business application built on apache/mod_perl and oracle. It's all centrally located and managed and load balanced. So we have to worry about a whole ton of machines, all of which fall into three categories:
- application servers
- oracle servers
- other servers (administrative machines, web proxies, etc)
So we need a way to make sure that all of our systems admin scripts make it out to all machines, and
all of the code makes it out to all of the app servers. Anyway, that all means that we need a pretty heavily controlled environment so that it can be synchronized easily. Your needs may be different.
------------
:Wq
Not an editor command: Wq
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.