中田さんぴゅあさん本当にありがとうございました。お礼にて失礼致します。
kazu さん、
hello.cgi の中身は #!/usr/bin/perl から始まります。
最初の
------------------ hello.cgi --------------------
というのはこの下から hello.cgi が始まるという意味です。
同様に最後の ----- の行も不要です。
そして、只今hello.CGI?に挑戦しています。が、AN HTTPD ゲストブック/コメント集を拝見しながらやっていますが、今一つ理解ができません。ご指導お願いします。ないようはhttp://127.0.0.1/~kazuo-k/hello.cgiと入力すると、下記のようにでてしまいます。どうしてなのでしょうか?
CGI エラー - Content-Type ヘッダが正しくありません。
CGI 出力メッセージ:
Can't modify constant item in predecrement at C:\www\kazuo-k\public_html\hello.cgi line 1, near "hello."
syntax error at C:\www\kazuo-k\public_html\hello.cgi line 4, near "print"
syntax error at C:\www\kazuo-k\public_html\hello.cgi line 9, at EOF
Execution of C:\www\kazuo-k\public_html\hello.cgi aborted due to compilation errors.