in reply to Perl module downloading

I have had some trouble with this also, I am using ActiveState perl so use the ppm util to load the modules I need. Firstly I connect ot the folowing site to download the zips from. Behind a Firewall and cannot use the ppm directly to the Activestate repository.
http://www.activestate.com/PPMPackages/zips/6xx-builds-only/

when I have downloaded the zip I modify ppm to remove the activestate repository that is default and change the repository to my temp dir. Like so...

ppm
set repository --remove ActiveState Package Repository
set repository Temp C:\Temp
set save

I then unzip the package into my C:\temp dir making sure I use path names...

to install the package is then simple. I run ppm..

ppm
install Module-Name


-----
Of all the things I've lost in my life, its my mind I miss the most.

Replies are listed 'Best First'.
Re: Re: Perl module downloading
by helgi (Hermit) on Jul 08, 2002 at 15:18 UTC
    You don't need to do all that if you simply get your proxy settings right as described in perldoc ppm:

    ENVIRONMENT VARIABLES HTTP_proxy If the environment variable 'HTTP_proxy' is set, then it will be used +as the address of a proxy server for accessing the Internet. The value should be of the form: 'http://proxy:port'.
    You can set this in Control Panel - System.

    This is probably "Perl's Most Frequently Asked Question", with the possible exception of something related to Unix versus PC type linebreaks.

    Regards,
    Helgi Briem

      Yes, this is a whole lot easier than downloading the module and customising the ppm tool. But there are other reasons why I would still choose the download way.

      1. Personally I like to keep all the modules I need on a cd that I move around with me. If I come to a site/customer/machine I have quick access to them.(Possible stand alone machine not connected to a network/the internet.

      2. I am still busy trying this but I am sure that if I set the HTTP_Proxy setting in the environment on my machine that is behind the office firewall, I will still be asked for authentication.(I am not loggin onto the NT domain.)

      However I am only a mere initiate and hope I am not way off the mark.(Although I do know that downloading the modules works for me)

      -----
      Of all the things I've lost in my life, its my mind I miss the most.

      UPDATE: Appologies! I should have read first..

      If your proxy or firewall requires a username and password, you will also need to set the environment variables 'HTTP_proxy_user' and 'HTTP_proxy_pass'.

      This is why I am still an INITIATE...;)

      Regards