How do I print text in CGI?
I use 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 display plain text.
+3
Sato
source
to share
1 answer
Just print it ...
print $cgi->header("text/plain"),
"hello";
+7
Dondi michael stroma
source
to share