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 are perl variables?

726


How will you access an element of a perl array?

715


There is no strict data types in perl unlike in other high level languages like Java so wouldn't that be a problem if a code in perl is to be a written by a big team of 20+ members ?"

2218


How to replace perl array elements?

727


What is confess function in perl?

747


Explain what is STDIN, STDOUT and STDERR?

763


How does polymorphism work in perl?

713


How to connect to SQL server through Perl?

783


What is perl dbi?

680


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??

1966


what is Polymorphism in Perl?

740


What is perl scripting?

707


What does localtime() do in perl?

765


Perl regular expressions are greedy" what does this mean?

699


What are the various uses of perl?

740