Perl


Accessing Form Parameters


Reading the Query


Reading the Query


Parse the Query


Putting it All Together


ParseInput.lib (Example)


ParseInput.lib


CGI.pm


Standard and Object-Oriented Syntax


Getting Information About the Environment


Accessing Form Parameters


Modifying Parameters


Modifying Parameters (Example)


Generating Output with CGI.pm


Generating Header Fields


Starting and Ending Documents


Standard HTML Elements


Standard HTML Elements (Example)


Form Elements


Form Elements (Example)


Grouped Form Elements


Handling Errors


Handling Errors