Reputation: 8582
I'm using HTTP::Server::Simple::CGI
print $cgi->header("text/plain"),
$cgi->start_html("Hello"),
$cgi->h1("Hello $who!"),
$cgi->end_html;
Is there something like $cgi->start_text("hello")
?
I want to output plain text.
Upvotes: 3
Views: 1514
Reputation: 4800
Just print it...
print $cgi->header("text/plain"),
"hello";
Upvotes: 7