- 793 名前:775 [2009/01/23(金) 21:07:22 ]
- フリーのPerlチェッカーでチェックしました。
Perlのエラー出力 Unrecognized character \241 at tmp.pl line 8. ソース 0001: use CGI; 0002: my $q = CGI->new; 0003: print $q->header( -type => "text/html"); 0004: my $body = $q->param( 'body' ); 0005: $body =~ s/\x0D\x0A|\x0D|\x0A/\n/g; 0006: my $li; 0007: for my $word (split "\n", $body) { 0008: $li .= "<li>$word</li>"; 0009: } 0010: print <<"HTML" 0011: <form method="post" action=""> 0012: <textarea name="body"> 0013: a</textarea> 0014: <input type="submit" /> 0015: $li</form> 0016: HTML 8行目の何が問題なのでしょうか?
|

|