[英]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.