in reply to Re: Installing Perl Modules
in thread Installing Perl Modules

The post from marto is a good one++, Re^2: Installing Perl Modules. You may not understand that the Active State .ppd file has everything needed for the installation. It is pre-compiled and "ready to go" . You must make sure that it is the right version and architecture yourself, but the ppm command prompt can install it.

I have in the past downloaded and installed a .ppd file that was not in the Active State Repository. That is rare for me and I haven't done it in some years. I have never built an AS module from "scratch". That is possible, however normally there is no need for this.

I did some googling and it is possible for you to make your own "ppm repository mirror" which you could put on a flash drive.

You might want to look at repository info, old but some info relevant.

I have no idea of the political environment at your workplace. If I were your manager, I would want that everything that you do be done in a maintainable process. If you need some module for your work, I would find a way to make that happen for you in an "official" way. If there is a reason for this that makes financial sense for the business, I would find a way. Consider the option of talking with your boss.

Things that would bolster your case: a) module has a long history, b) it is well maintained with regular updates, c)has few outstanding defect reports, d) will help me be more productive because of X. Get your "ammo" together before talking with the boss.

Replies are listed 'Best First'.
Re^3: Installing Perl Modules
by Anonymous Monk on Aug 29, 2016 at 22:44 UTC
      Your link is similar as the one I posted. Good info about what files it needs! My machine is connected to the internet so this .ppd XML file worked. I would add that the XML .ppd file does contain the dependencies.

      my link had:
      http://docs.activestate.com/activeperl/5.16/faq/ActivePerl-faq2.html
      your link has:
      http://docs.activestate.com/activeperl/5.16/faq/ActivePerl-faq2.html#ppmx_files

      fair enough.

      Update: The reason that my downloaded .ppd files worked is that my machine can access the internet and I can "get the .ppd payload". I have successfully "cloned" an Active State installation from one machine to another by copying my main AS dir to the other machine with the same AS version (given a base installation of the same AS version). However, there is a lot that can go wrong with this idea. I do NOT recommend that idea. Certainly not in a corporate environment.

      I forget the exact syntax right now, but there is a way to have AS dump a file with descriptions of "modules that need to be installed" and that can be used to "clone" your installation. This is the preferred way to "clone" an installation on another machine that doesn't violate any copyrights, etc. And you get the latest versions. I have successfully done that with another user before.