HelloWorld! - Perl,CGI

ご挨拶です。

サンプル

#!/usr/bin/perl

#-- ヘッダ --#
$|=1;
print "Content-type: text/html\n\n";

#-- 内容 --#
print <<"END_OF_HTML";
<html lang="ja">
<head>
<title>Hello World</title>
<body>
<h1>Hello World!</h1>
</body>
</html>
END_OF_HTML

exit(0);