> Hi Andy, > > > Andy Cravens wrote: > > 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? > > > ... > > 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? > > > I'm not sure if this is of any help since it was a while ago that I > tried this. But I have done this before and if I recall, I did > something like: > > perl Makefile.PL PREFIX=~/perl > > And then make;make test;make install. I don't recall using "LIBS". And > then, I had to do: "use lib '...path in my home directory...';" in my > programs. They were in my home directory, so no, no one could see them. > > Ray
I think its even easier that that, from what I have seen. If you're a non priviledged user perl will decide a path to the modules based on that so its quite likely to be ~/perl/ blah blah. I wanted to install modules globally so I did it as root (or in a sudo shell). That's only from my observations though, but its easy enough to verify in your own environment. Stu Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/