http://www.perlmonks.org?node_id=570029


in reply to Wondering why Perl thinks escape_uri is undefined

Why not try this for a quick fix:

push @pairs, Apache::Util::escape_uri($name) . '=' . Apache::Util::esc +ape_uri($value);