I have created a CGI-based page,after entering all the
values in to the fields, How to get the output on the web
browser using Perl
Answer Posted / suvvari
In the HTML form, you have to mention the perl script name.
Ex: <form action="test.pl" method="POST">. Then in the
test.pl, you have to mention the content-type as
print "content-type: text/html\n\n";. And read the form
values and print them.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to turn on Perl warnings? Why is that important?
How many types of variable in perl?
How to create a package?
When do you use perl programming?
What is the peculiarity of returning values by subroutines in perl?
Explain use of ‘my’ keyword in perl?
How to add elements in a hash in perl?
What is the main function of cookie server?
How to copy a file in perl?
How to know whether a key exists or not in perl?
Write the program to process a list of numbers.
What is perl I used for?
What are prefix dereferencer?
What is the difference between perl array and perl hash?
Explain gmtime() function in perl?