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


in reply to Mechanize Returns Garbled Content

or what about:

print $m->res->decoded_content

?

EDIT: your code works fine for me... maybe there is a proxy between you and google that compresses the data?

EDIT 2: I didn't see where you said it was working ok on your machine... my guess is still some type of proxy between the machine it is not working properly on and google.

Replies are listed 'Best First'.
Re^2: Mechanize Returns Garbled Content
by Anonymous Monk on Jun 28, 2011 at 22:50 UTC
    On the 'good' machine, it returned the google content page. On the 'bad' machine, it did not return anything.
Re^2: Mechanize Returns Garbled Content
by Anonymous Monk on Jun 28, 2011 at 23:31 UTC
    I spoke to our admin people and they confirmed that there is no proxy sitting between the 'bad' machine and google.