Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • decoded_content normally returns a TEXT string, whereas content only supports OCTET strings. When LWP got fixed, your module got broken. Or, well, its error was exposed.

    Using doceded_content is fine, but don't try to stuff its text result back into the byte content container. If you're using decoded_content but don't really care about character sets, supply charset => 'none' and continue using it as you are now.

    See also the PM thread at http://perlmonks.org/?node_id=683833 [perlmonks.org] and dngor's solution at http://p3m.org/pfn/1060 [p3m.org]