I really like my Test::WWW::Mechanize::Catalyst module. Well, I don't like how it's such a hack internally for something which should be so simple. However, I need some help: the recent releases of libwww-perl break the tests and I can't figure out how to fix it. Could you help?
libwww-perl-5.812
link on 2008-05-03T23:49:39
Have you tried the latest version? Looks like some changes have happened in the problem area, maybe they have sorted it out.
Incompatible types
Juerd on 2008-05-05T20:03:53
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 and dngor's solution at
http://p3m.org/pfn/1060