Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: www::mechanize executable

by Anonymous Monk
on Oct 18, 2012 at 22:45 UTC ( #999827=note: print w/ replies, xml ) Need Help??

in reply to www::mechanize executable

Hello again monks!

I debugged as much as I could and found that the problem is my website type I believe. Because if I use as my URL, my executable takes the information needed and saves it in the .txt file

Therefore do any of you have an idea why the website type makes a difference when my script is compressed to an .exe? (if i compress the script with the, it works fine<\p>

Comment on Re: www::mechanize executable
Replies are listed 'Best First'.
Re^2: www::mechanize executable
by Corion (Pope) on Oct 19, 2012 at 08:31 UTC

    Have you checked with URLs that need HTTPS?

      Hello Corion, Yes I have noticed that the problem is only related to sites that have authentification. So for example ( will not work either. What I can't understand is that the script works fine whichever site I choose to parse.

      But when I package the script it only works with none secured websites. For example will get parsed by the packaged script (.exe) I debugged and the process stops exactly when I call the https site i.e. at line:

      # Connect to the login page my $response = $bot->get( '' );

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2015-11-25 00:34 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (666 votes), past polls