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
What interface used in PERL to connect to database? How do you connect to database in Perl?
How to find the length of an array in perl?
Explain what is lvalue?
How many types of operators are used in the Perl?
Explain goto label?
How to convert strings into an array in perl?
What are the various uses of perl?
Does Perl have objects? If yes, then does it force you to use objects? If no, then why?
Hi, I am a accountant. I am preparing a balance sheet but because of staff shortage and time pressures I cant complete it on time. There is lot of common data with last years which I need not retype and I can manage by editing last year’s balance sheet ? Is their any software on net where I can do this easily??
For a situation in programming, how can you determine that Perl is a suitable?
You want to concatenate strings with perl. How would you do that?
Which guidelines by Perl modules must be followed?
How can arrays be tied?
Explain tk?
How to close a directory in perl?