|
NAMEWWW::Mechanize::DecodedContent - decode Mech content using its HTTP response encoding SYNOPSIS use WWW::Mechanize;
use WWW::Mechanize::DecodedContent;
my $mech = WWW::Mechanize->new;
$mech->get($url);
my $content = $mech->decoded_content || $mech->content;
DESCRIPTIONWWW::Mechanize::DecodedContent is a plugin to add decoded_content utility method to WWW::Mechanize. NOTE If you're using WWW::Mechanize 1.50 or later, just use "$mech->content" and it will return decoded content. METHODS
AUTHORTatsuhiko Miyagawa <miyagawa@bulknews.net> LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOHTTP::Response::Encoding, WWW::Mechanize
|