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

  • SEARCH
  • Home
  • 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 8103589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:35:11+00:00 2026-06-05T23:35:11+00:00

My workplace uses XP and I was trying to run the following script on

  • 0

My workplace uses XP and I was trying to run the following script on it

use strict;
use warnings;

use WWW::Mechanize;
my $mech = WWW::Mechanize->new();

$mech->get( 'http://google.com' );

$mech->submit_form(
    form_number => 0,
    fields      => {
        q       => 'led zeppelin',
    }
);

print $mech->content;

However, when I try to run the script through DOS, I always get an error message saying that the page cannot be loaded because my computer can’t connect to google.com:80 because of a timeout.

As far as I know, this is not an internet problem, because my browser seems to be running fine. What I want to know is, are there any other permissions or parameters to be set so the site can be loaded? If not, what is the problem?

  • 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-06-05T23:35:13+00:00Added an answer on June 5, 2026 at 11:35 pm

    Maybe the Internet can only be accessed through a proxy server in your workplace, which is a common practice.

    $mech->proxy(['http', 'ftp'], 'http://proxy.example.com:8000/');
    

    See How do I use WWW::Mechanize through a proxy server? in WWW::Mechanize::FAQ.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My workplace uses Hudson for its daily builds, with several build slaves (one Linux,
At my workplace we use mIRC for realtime communication for those of us who
I'm doing Sprimg WS at my workplace. We run into some strange validation problems,
I'm using code similar to below: var image = new Image(); image.src = http://youtube.com/favicon.ico;
I have an Ant project that uses a bit of Coffee Script. I would
I am trying to write a program that uses a C API. This API
I am trying to build my C project, which uses methods from a DLL,
My current workplace uses the standard Spring/Hibernate/JSP mix to serve content to its Flex
While creating new Java project in Eclipse I got following warning The current workspace
I'm trying to compile a java source file that uses two jar files (trove

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.