Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3604956
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:03:48+00:00 2026-05-18T21:03:48+00:00

I have a proxy with IP, Port, Login and Password. Is it possible to

  • 0

I have a proxy with IP, Port, Login and Password.
Is it possible to use this proxy with Perl’s WWW::Mechanize?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T21:03:49+00:00Added an answer on May 18, 2026 at 9:03 pm
    1. I’m not sure if there’s a native way but here’s a workaround which is claimed to work:

      http://www.perlmonks.org/?node_id=269358

      It’s based on setting $ENV{HTTP_PROXY} to “http://login:password@proxyserver” where both login and password must be URI-encoded.

    2. Also, WWW::Mechanize is a subclass of LWP::UserAgent, and as such, what works in LWP should work on Mechanize (example from LWP Cookbook, PROXIES section)

      use LWP::UserAgent;
      $ua = LWP::UserAgent->new;  
      $ua->proxy(['http', 'ftp'] => 'http://username:password@proxy.myorg.com');
      $req = HTTP::Request->new('GET',"http://www.perl.com");
      $res = $ua->request($req);  
      print $res->decoded_content if $res->is_success;
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At work we have to use a proxy to basically access port 80 for
I have Vidalia installed, set up Chrome to use port 8118 for the proxy
I have an dialog for HTTP proxy configuration with hostname and port edit boxes.
I have this WSO2 ESB proxy: <?xml version=1.0 encoding=UTF-8?> <proxy xmlns=http://ws.apache.org/ns/synapse name=sid008 transports=http startOnLoad=true
I have a local HTTP proxy which I use to inject scripts into the
I have a question about python mechanize's proxy support. I'm making some web client
I'm using node.js and socket.io. I'm using http-proxy to use port 80 on a
I have git proxy config as 'http.proxy=http://userId: pwd@123 @ipaddress:port' but while cloning a remote
I would like to know, how can we use different proxy (other than port
Is it possbile to use the windows login credential for proxy authentication using C#.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.