Seems the latest 'update' to libwww-perl broke things that used to work . . .
Solution 1: downgrade libwww-perl to an older version.
. . . this has to do with utf8 stuff in the content . . .
Solution 2: make sure there's no "utf8 stuff in the content". Looking at your $query I see '...' a couple of times, not as three dots but as a single ellipsis character. Try changing those first; if no joy then keep searching for non-ASCII characters.
In reply to Re^3: Error "HTTP::Message content must be bytes" while posting with LWP
by keszler
in thread Error "HTTP::Message content must be bytes" while posting with LWP
by Gangabass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |