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
Explain splicing of arrays?
How to code in perl to implement the tail function in unix?
Difference between the variables in which chomp function work ?
You want to print the contents of an entire array. How would you do that?
For a situation in programming, how can you determine that Perl is a suitable?
What does init 5 and init 0 do?
Differentiate between arrays and list in perl.
How do I print the entire contents of an array with Perl?
Give an example of using the -n and -p option.
What is perl scripting?
What are the various flags/arguments that can be used while executing a perl program?
What does -> symbol indicates in Perl?
Explain gmtime() function in perl?
What is warn function in perl?
Explain returning values from subroutines?