perl form

Perl CGI.pm example - a password field form

Here's the source code for a Perl CGI password field example. The Perl code below shows how you can display an HTML form with a password field, using the Perl CGI.pm module. The first time this script is called it displays a password field in a form. After you submit the form, this script displays the text that you entered in the password field.

Here's the source code for this Perl CGI.pm password field example script:

Perl CGI.pm - a popup menu example

Here's the source code for a Perl CGI popup menu example. (It's called a "popup menu" in the CGI.pm module, but it renders an HTML SELECT/OPTION form in a browser.)

The Perl code below shows how you can display an HTML form with a popup menu, using the Perl CGI.pm module. The first time this script is called it displays the popup menu (combo box) in a form. After you submit the form, this script displays the item you selected from the combo box.

Here's the source code for this Perl CGI.pm combo box example script:

Perl redirect - a Perl CGI redirect example

Perl CGI redirect FAQ: Can you share some Perl CGI redirect example code?

Here's the source code for a simple Perl CGI redirect example. An HTML redirect is pretty easy to program manually, but the Perl CGI.pm module makes it even easier to redirect a user from one page to another.

Perl redirect CGI script example

Here's the source code for this Perl CGI redirect example script:

Perl CGI form example - a CGI.pm scrolling list

Here's the source code for a Perl CGI scrolling list example. The CGI.pm module calls this a scrolling list, but it renders an HTML SELECT/OPTION form field with the "multiple" attribute.

The Perl code below shows how you can display an HTML form with a scrolling list field, using the Perl CGI.pm module. The first time this script is called it displays a scrolling list field in a form. After you submit the form, this script displays the item you selected in the scrolling list.

Here's the source code for this Perl CGI.pm scrolling list example script:

A Perl CGI (CGI.pm) textarea example

Here's the source code for a Perl CGI textarea example (a Perl form example). The Perl code below shows how you can display an HTML form with a textarea field, using the Perl CGI.pm module. The first time this script is called it displays a textarea field in a form. After you submit the form, this script displays the text that you entered in the textarea field.

Here's the source code for this Perl CGI.pm script, which generates a textarea in an HTML form:

A Perl CGI (CGI.pm) textfield form example

Here's the source code for a Perl CGI textfield example (a Perl form example). The Perl code below shows how you can display an HTML form with a textfield using the Perl CGI.pm module.

The first time this script is called it displays a textfield in a form. After you submit the form, this script displays the text that you entered in the textfield.

Here's the source code for this CGI.pm "Perl form" textfield example script:

Syndicate content