Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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>

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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-10-24 22:43 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (310 votes). Check out past polls.