Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: start_multipart_formChapter 10
The Module
Next: Reference: textarea


 print $query->submit([ 'label','value' ])

Generates a submit button.


The label to use for the button.


The value to return when the form is submitted.

Using named parameters, the syntax is:

print $query->submit(-name=>'name',

Browser should execute function when the user clicks on the submit button.

Previous: Reference: start_multipart_formPerl in a NutshellNext: Reference: textarea
Reference: start_multipart_formBook IndexReference: textarea