in reply to ?& in query string causes errors

What version of CGI.pm are you using? I submitted a bug report and patch for this about a year ago, and I believe it's fixed in the latest version.