[英]How to print plain text in CGI?
我正在使用HTTP::Server::Simple::CGI
print $cgi->header("text/plain"),
$cgi->start_html("Hello"),
$cgi->h1("Hello $who!"),
$cgi->end_html;
有没有类似$cgi->start_text("hello")
?
我想输出纯文本。
只需打印它......
print $cgi->header("text/plain"),
"hello";
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.