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 perl.
Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.
What are the various flags/arguments that can be used while executing a perl program?
Explain splicing of arrays?
What is the use of "stderr()"?
Define perl scripting?
What is cpan in perl?
Explain lexical variables.
You want to print the contents of an entire array. How would you do that?
When does circular reference occur?
How will you access an element of a perl array?
What is the closure in PERL?
How would you ensure the re-use and maximum readability of your perl code?
How to change a directory in perl?
What are the options that can be used to avoid logic errors in perl?