<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 16, 2011, at 10:17 PM, Fred Moyer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">This has the disadvantage of taking a couple hours to get a full set of needed Perl modules installed, but does return some long term benefits such as being able to install whatever module you want whenever you want without breaking modules that are shared between developers.</span></blockquote></div><br><div><a href="http://search.cpan.org/dist/carton">Carton</a> or <a href="http://search.cpan.org/dist/Dist-Zilla-Chef">Dist::Zilla::Chef</a> can help with that.  Both of them will stash all the required CPAN dists _<i>inside_</i> your project.  So all you need to do is checkout the project from the VCS system, fire some carton or dzil commands, and it will build everything into a <font class="Apple-style-span" face="Monaco">local::lib</font> sandbox (without going over the network, and without "accidentally" upgrading to the latest version on the CPAN).  </div><div><br></div><div>For example, I have 2 or 3 different versions of perl (via perlbrew) that I can switch between, but I never install any modules in them.  Each of my projects has its own private slice of CPAN that installs into its own <font class="Apple-style-span" face="Monaco">local::lib</font>.  This means I never contaminate my environment for one project with the modules from another project.    All is neat, clean, and reproducible.</div><div><br></div><div>-Jeff</div></body></html>