Installing perl modules



Is there a way to have multiple users on a server using the perl at /usr/local/bin/perl and yet have their own personal perl modules that the other users can't see?

I'm trying to figure out if there is a way to allow multiple users to install any and all perl modules thay may need for development and testing without interfering with other users.

We have cases where someone may install dozens of perl modules for testing and then find out they are not needed after all. We also have cases where we'd like to try installing newer versions of modules without breaking someone else's code.

Not sure if there is a way to do this short of installing a separate perl for each user. That would be a nightmare.

During module install you can specify an alternate location to install the module using LIBS=/path/to/your/perlmods like this:

perl Makefile.PL LIBS=/home/jdoe/perlmods

but if I'm correct, I think these perl modules will be seen by everybody on the server. Can someone clarify this?

--
Andy
.



Relevant Pages

  • SUMMARY: Packaging Perl Modules on Solaris...
    ... then untar your tar file and copy all *.pm files in one of this directories. ... This works great for pure perl modules, ... with 'make -n install' in the source directory. ... I then used the ".packlist" files for each module to create the package ...
    (SunManagers)
  • RE: PPD files for PERL Modules on UNIX
    ... To: Arun Kumar ... Subject: Re: PPD files for PERL Modules on UNIX ... Why don't you just install the modules from CPAN? ...
    (perl.dbi.users)
  • Proposed CPAN module: Audio::LADSPA
    ... I plan to release on CPAN "soon", ... This is a set of extensions to host LADSPA plugins, ... To install this module type the following: ... this extension requires the following Perl modules; ...
    (comp.lang.perl.modules)
  • Re: Mbox2MailDir [was]Re: moving from stock IMAP server to Cyrus IMAP.
    ... > I did try that and I couldn't locate a RPM for the NetxAP module. ... > I said RPM as opposed to using CPAN to install it) and thus it didn't ... I am using cpan2rpm to instantly build RPMs from CPAN Perl modules. ...
    (Fedora)
  • Re: [SLE] Perl and Perl Modules - YaST vs. CPAN(?)
    ... On 9/27/05, Sid Boyce wrote: ... >> site to be a yast repo you still can't install it. ... >> info available on which perl modules you need. ... >> I wish for many improvements to the overall packaging of all Linux distros. ...
    (SuSE)