PERL tutorials

 

Contents


PERL tutorialAn introduction to Perl, both tutorial for beginners and reference guide for advanced developers, plus some examples of "real life" perl applications.
Intro to PERLAn introduction to using PERL
PERL and MySQLPerl and MySQL never used to be mentioned in the same sentence. Now they can. With the use of a module, you can be making your MySQL queries with ease, all from a perl
Introduction to PERLPerl is the single most popular language for developing interactivity between a web site and its users. Learn the basics so that you can too can have the level of interactivity your visitors expect, and demand
Simple database programEver wonder how to make a web database program with Perl? Well here you go, a step by step method of creating a database program, in English
Intro to PERL for cgiintroduces the essentials of Perl, then shows how Perl scripts can be made to work with a Web page.
Intro to mod_perlSpeed up your CGI scripts and integrate them with your Web server using mod_perl
More than You Ever Wanted to Know About TemplatesBrian gives examples and source code for a complete, Perl-based template system.
Create a chat serverYou may not dig online chat, but the code behind the rooms has plenty to offer.
Roll your own search engineBrian shows how he wrote a search engine in a few lines of code.
Intro to Regular expressionsWith Crispin's help, you, too, can parse text like a pro
How to Get Dynamic Pages SearchedMake search engines give your site the credit it's due.
VariablesUsing variables with PERL
OperatorsOperators in PERL
Adding conditions in PERL scriptsAdding conditions in PERL scripts
IterationIteration in PERL
Environment VariablesAccessing environment variables with PERL
Form data and POSTpassing form data with the POST method
Form data and GETpassing form date with the GET method
File handlingFile handling with PERL
Intro to CGIWhat is CGI? Why learn it? What do you need to get started?
Chapter 1: Getting Startedwhere to write your scripts; how to upload to the Unix host; changing permissions; writing your first CGI
Chapter 2: Perl VariablesScalars, arrays, and hashes
Chapter 3: CGI Environment VariablesUsing data from environment variables; writing forms using GET
Chapter 4: Processing FormsWriting forms using POST: a form-to-mail CGI
Chapter 5: Advanced FormsHandling radio buttons, checkboxes, and select fields; writing a survey/poll CGI
Chapter 6: Reading and Writing Data FilesFile permissions; how to open, read, write, and close files
PDF tutorialThe first Six chapters from cgi101 for free
PERL courseA thorough yet quick tutorial that touches on the major uses of Perl.
How to use your CGI-BINA CGI and PERL tutorial
Beginners PERL tutorialsThis page is designed to help novice programmers learn the Perl programming language. Specifically, it's designed to help them learn enough to run CGI scripts on a Unix Web server.
What you needThis tutorial explains what you need to begin programming your own CGI scripts with Perl. Check here first to be sure you have everything you want or need to begin.
Installing a Perl ScriptSee how to install a simple Perl script so that you can use it on your web site.
Perl Basics : outputThe first tutorial on the Perl language itself, describing how to print output to the web browser with the print statement.
Printing HTMLFollows up the previous section by explaining an easier way to print HTML to the web browser with less character escaping.
PERL variablesHow to declare variables in Perl and use them in your scripts.
PERL operatorsUsing Perl operators for math, assignments, and incrementing. Introduces the uses for these operators and the methods for using them
PERL operators 2Using the comparison and logical operators.
Perl ConditionalsUsing if, elsif, else, and unless to check for certain conditions.
LoopsUsing for, while, and foreach to loop through certain parts of code.
Using arraysHow to use arrays to store a group of similar variables.
Manipulating arraysHow to add, delete, and do other things with array elements.
Associative arraysHow to use associative arrays to store a similar group of variables.
Chop, Length, and SubstringHow to use some helpful functions to manipulate or get values from strings
Reading From FilesA two-part tutorial on how to read data from a flat text file and make use of it.
Appending FilesHow to add data to the end of a file
Writing to FilesHow to overwrite the contents of a file with new information and how to delete a file.
File CheckingHow to check for file existence and other file information.
Reading DirectoriesHow to read the contents of a directory.
Using cgi-lib.pl for FormsHow to use cgi-lib.pl to read data from forms and make use of it. The file also includes some other useful features as well.
Environment VariablesYou can have your scripts grab some information by using environment variables.