I have one HTML form:
<form action="greeting.pl" method="post">
Please enter your name:
<input type="text" name="name" maxlength="30">
<input type="submit" value="Submit">
I want to display the name via perl script.
I wrote the following
my $q = CGI->new;
my $name = $q->param('name');
But not working. Error:
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.