|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re^2: Dealing with binary data and WWW::Mechanize and encoding stuffby friedo (Prior) |
| on Dec 07, 2008 at 15:11 UTC ( #728722=note: print w/ replies, xml ) | Need Help?? |
|
That was the clue I needed. The underlying content method from HTTP::Message will get me the original unmolested byte string from the server. So all I have to do is use $mech->response->content instead of $mech->content, and it works perfectly. Thanks!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||