Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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, 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.

Replies are listed 'Best First'.
Re^3: Net::Libnet Module Installation
by morgon (Curate) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://851820]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2018-01-21 12:12 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (228 votes). Check out past polls.