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


Please Help Members By Posting Answers For Below Questions

what is perl language?

513


Explain the meaning of perl one-liner?

514


Mention what is cpan?

579


What exactly is grooving and shortening of the array?

592


Explain a tell function in perl?

539






How do find the length of an array?

520


What is the tk module?

588


Which functions in perl allows you to include a module file. State their differences.

528


How do you match one letter in the current locale?

559


How can I implement the function overloading in Perl ? I read about the operator overloading, I do not know how to implement the function overloading. Thanks in advance ?

2495


What is goto statement in perl?

512


What are the arguments and what do they mean in perl programming?

522


How do I read command-line arguments with Perl?

605


How interpreter is used in perl?

488


How to read multi lines from a file in perl?

515