in reply to http return code 200

A speedier but more complex alternative to CGI.pm suggested in the other comments is of course mod_perl and Apache. If you are running in an apache environment all you need to do is return  Apache2::Const::OK; from a handler, or simply not error out in a Registry or PerlRun script. Apache will handle the HTTP Status code for you.