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
Who created perl?
What are the various perl data types based on the context?
Explain substr function in perl?
How to copy a file in perl?
Can inheritance be used in perl?
What is the difference between localtime() and gmtime() functions?
What $! In perl?
Which has the highest precedence, List or Terms? Explain?
Explain grooving and shortening of arrays and splicing of arrays?
Can you add two arrays together?
What is the importance of perl warnings?
What can be done for efficient parameter passing in perl?
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
You want to connect to sql server through perl. How would you do that?
What are perl variables?