in reply to HTTP Data Being Changed
application/x-www-form-urlencoded type specifies + for spaces. You need to escape them:
useURI::Escape;
useURI::Escape;
$r->content(uri_escape($content));
In Section
Seekers of Perl Wisdom