<div dir="ltr">Hi All,<div><br></div><div>I got a perl script that uses some CPAN modules, and I want to deliver that to a client. I can think of several ways to do that:</div><div><br></div><div>1. Use pp ( but then - what if the client wants to change the source later and doesn't want to pp again ?)</div>
<div><br></div><div>2. Give the client a CPAN style build with Makefile.pl, and let them install dependencies on their own</div><div><br></div><div>3. Give the client a full directory tree with my script and all dependent modules</div>
<div><br></div><div>Now, I want to use (3) to make my client's life as easy as possible. There's just one question - how do I create that folder. The procedure I had in mind involved installing a new perl with perlbrew to match the client's version, then install local::lib to make a dedicated modules folder, install everything I need with cpanm and finally copy the local::lib folder to the project's tree, add "use lib" statements in the script, and zip it to the client.</div>
<div>This feels awfully tedious...</div><div><br></div><div>What do you guys do ? Is there a simple process that escaped my mind ?</div><div><br></div><div>Thanks,</div><div> Ynon</div><div><br></div><div><div><br></div>
-- <br><div dir="ltr"><div dir="rtl"><br>כותב הרצאות ? מדבר מול קהל ? הבלוג שלי <a href="http://publicspeakr.blogspot.com/" target="_blank">לומד לדבר</a> כתוב במיוחד בשבילך.<br></div></div><br>
</div></div>