Perl Code Snippets
Perl Name Formatter
Use this code to format common names. For example, john doe III, will be converted to John Doe III.
Perl Template Creator
Use this code to create easily modifiable html templates for use in your perl cgis.
Perl Cookie Retrieval
Use this code to populate an associative array with the users cookies.
Perl Email Syntax Checker
Use this code to test an email address for proper syntax. It will return '1' if the email address passes or a '0' if it fails. You can use it in conjunction with the Ace Perl Popup Window to let the user know they entered an invalid email address.
Perl Popup Error Window
Use this code to display a popup window from a perl script. The most common use is to indicate to the user that something has happened, like they haven't filled out all the required fields on a form.
Perl Form Variable Extractor
Use this code to extract the fields submitted on an html form. It can also be used to parse the information after the '?' in the url.
Perl Debug Tool
Use this code to display environment variables and form variables. The form variables are assumed to be in the %in associative array (as extracted by the &getdata subroutine show in a previous example). This is generally used when the script encounters an error and is very useful for debugging.
Perl Variable HTML Escape and UnEscape
Use this code to convert non-word characters to the html format. This is useful for displaying forms populated with variables that have odd characters or for 'escaping' variables prior to saving them to a database.
CGI Script.net - Webmaster Resource Site - Free and Professional CGI Scripts and JavaScripts Articles catalogue

vg-force.com v 4_2