in reply to Re^2: Can Multiple perl versions coexist without effecting one another on Solaris?
in thread Can Multiple perl versions coexist without effecting one another on Solaris?

If I'm understanding you correctly, yes, when you install from CPAN, it'll install all needed dependencies, granted the Makefile.PL or Build.PL of the modules are configured with their dependencies properly (I rarely ever have issues with dependencies when installing via CPAN).

Also, if you've got Unix sysadmins, that's who would most likely do the installs.

Replies are listed 'Best First'.
Re^4: Can Multiple perl versions coexist without effecting one another on Solaris?
by newperlmonkey (Novice) on Sep 30, 2015 at 19:33 UTC
    Thanks for confirming Stevie. I think I have some direction now. :)
Re^4: Can Multiple perl versions coexist without effecting one another on Solaris?
by newperlmonkey (Novice) on Sep 30, 2015 at 20:28 UTC
    One followup question is that I have installed the current version of perl 5.22 on my windows and is there that I can just move all the dependent modules related .pm files to solaris server and place them in PERL5LIB location so that I can just use these modules as if they are installed on server?

      Hey newperlmonkey,

      I can't conclusively answer this question as I don't have access to any Solaris boxes anymore. However, here are concerns I'd have: 1) line-endings (record separators) may be different and cause issues. 2) there may be other unknown problems between versions of perl on the different platforms that may cause issues.

      My suggestion is to take a dev box, copy over a simple module, and test it. If that works, move up to something more complex.

      Although I have a lot of experience working on numerous platforms, I must admit that I don't have much experience on transferring Perl things from one to another manually. I've always used CPAN, or in the realm of my own modules, just kind of force-installed manually (where necessary).

      Why don't you give it a try with a module and let us know? Recently I did some extraction and re-insertion with Data::Compare which is (as far as structure goes) pretty basic. Install that on one box, then try migrating it over manually. It auto-imports so it's easy to test. Here's an example of how to test it:

      use Data::Compare; print Compare( [1, 2], [1, 2] );

      -stevieb

Re^4: Can Multiple perl versions coexist without effecting one another on Solaris?
by newperlmonkey (Novice) on Sep 30, 2015 at 19:34 UTC
    Thank you for confirming Stevie. I got direction now :)