Hi Rahul,
I believe you have a proxy configured (see image), and in order to the install perl modules you'll need to configure CPAN for a proxy.
proxy.png
If you're using a VM, please take a snapshot before making any system changes.
To enable CPAN behind a proxy, invoke CPAN shell by running:
Next, set the proxy by running the following command:
If you're accessing the net via proxies, you can specify them in the CPAN configuration or via environment variables. The variable in the $CPAN::Config takes precedence.
Your ftp_proxy? [a.b.c.d] a.b.c.d:port
Your http_proxy? [a.b.c.d] a.b.c.d:port
Your no_proxy? [] a.b.c.d:port
If your proxy is an authenticating proxy, you can store your username permanently. If you do not want that, just press RETURN. You will then
be asked for your username in every future session.
Your proxy user id? []
Please remember to call 'o conf commit' to make the config permanent!
That will store the settings and use it for all future cpan installs for the user that runs.
Let us know if you get it resolved. You may want to consult you're systems administrator to verify your network setup.
You do not have the required permissions to view the files attached to this post.