You made two errors posting your question:
You posted your node to Perl Monks Discussion. (I moved it to Seekers of Perl Wisdom.) The former is for questions and discussions about this site. The latter is help with Perl.
I think you meant to post the error message from the log file at the end, but you reposted an earlier snippet.
You made two errors in your code:
The first is use cgi;. That should be use CGI;. What you have will *appear* to work in case-insensitive systems like Windows, and fail completely on case-sensitive systems like unix.
The second is <br>. That means "read a line from the file handle br." You want
orprint $cgi->param('name'), $cgi->br;
print $cgi->param('name'), '<br>';
Update: Typo fixes
In reply to Re: why this simple cgi script returns error ? !
by ikegami
in thread why this simple cgi script returns error ? !
by adam_blackice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |