in reply to http return code 200

What exactly does "http return code 200" mean

What did Google tell you?

how do I instruct Perl to return such a result?

That's the default status that gets returned by a CGI program unless you tell it specifically to return something else.

It really sounds like you'd benefit from reading Ovid's CGI course.