in reply to XSS protection in CGI::Application
To change the content-type, do this:
$self->header_add(content_type => 'text/html'); [download]
However I agree with skx about using AUTOLOAD for this purpose.
-- જલધર