Posted on 2008-07-13 22:38:19-07 by murthy64 in response to 7945
Re: get binary instead of text
I have the same issue. On Windows XP with Active Perl everything works great. As soon as I moved the code to a BSD Unix things came crumbling down. For instance, the entire page of www.fedex.com was returned as a binary when done like this
my $mech = WWW::Mechanize->new (); $mech->get("http://www.fedex.com"); print $mech->response->content;
Can anyone please help me figure this out? Thanks Murthy
Direct Responses: 8310 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.