|Lesson 8 - Form Input/Processing|
In this topic we
will discuss the use of html forms with Perl. You will learn how to
access the results of a form filled out
When a user inputs
form data and submits the form via the POST method your web server will
interpret that data and pass it to
To get the results
of your form you can use the standard code included below. This code
extracts the form results from STDIN
Standard form parsing routine.
Simply insert the
above code into your perl script and call "&parse_form();"
somewhere in your script. Once that has been
The most common
use of forms is to email the results to the website developer. The sample
project demonstrates this.
Home | Lessons | Get Perl | Resources