Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Net::Libnet Module Installation

by sagarkha (Acolyte)
on Jul 28, 2010 at 23:04 UTC ( #851820=note: print w/ replies, xml ) Need Help??


in reply to Re: Net::Libnet Module Installation
in thread Net::Libnet Module Installation

Morgon, my machine is behind a proxy so it is not fetching Modules from CPAN.org, can you tell how to configure cpan to go through a proxy, its for my future use. I belive i need to configure the following details Proxy IP & Port, Domain name, username and password.


Comment on Re^2: Net::Libnet Module Installation
Replies are listed 'Best First'.
Re^3: Net::Libnet Module Installation
by morgon (Deacon) on Jul 28, 2010 at 23:26 UTC
    You can check the documentation of the CPAN-module with "perldoc CPAN".

    It uses some configuration variables that you can set (at the shell-prompt) with "o conf <variable> <value>".

    After you've made changes you need to commit them with "o conf commit".

    To use a proxy (I think) you need to set the variables "http_proxy" (maybe also "ftp_proxy") and possibly (if you have to authenticate at the proxy) "proxy_user" and "poxy_pass".

    So try (at the prompt you get with "perl -MCPAN -e shell"

    o conf http_proxy <your proxy> o conf http_user <your proxy-user> o conf http_pass <your proxy-password> o conf commit

    and it should work.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://851820]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2015-07-30 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls