On Thu, Apr 8, 2010 at 2:14 PM, Jins Thomas <jinstho...@gmail.com> wrote:
> On Thu, Apr 8, 2010 at 5:31 PM, <zeetu...@aol.in> wrote: > > > > > > > > > Dear All > > > > I had a problem installing modules in office,why because in office we use > > proxy credentials to access internet.But i don't know how to do > it.So,please > > help me with the procedure. > > > > Thanks, > > Phanikumar > > > > > > Are you trying to install directly from cpan? If proxy credentials are > causing trouble, you can also download modules (also other dependent > modules > ) from internet in a different machine and copy there and do a perl > Makefile.PL followed by make install. Just have to read the README/INSTALL > files. Basically when u try to install via cpan you dont need to worry > about > the dependencies, that's the advantage. But you can always do independent > installations as well.. > > > Cheers > Jins Thomas > Hi Phanikumar, What are you using to install the modules? Are you starting CPAN form the command line on a *nix mahcine or are you using PPM on a windows machine? You can for both setup environment variables and or configuration that lets you hand the credentials to the proxy server. For CPAN as I'm using that in the office where I have the same problem with the proxy server, I have the following setup: ftp_proxy [http://user:passw...@proxy.company.com:8080] http_proxy [http://user:passw...@proxy.company.com:8080] no_proxy [http://user:passw...@proxy.company.com:8080] You can get to the configuration by typing: *o conf *on the CPAN command line For PPM I cannot remember how to do this it has been more then 10 years since I played with PPM on my computer, but I'm sure that you can find this information on the activestate website. Regards, Rob