Home

Perl Basics

This tutorial provides basic concepts of PERL. Practical Extraction and Reporting Language or PERL is an open-source server-side programming language extensively used for web scripts commonly used to write Common Gateway Interface (CGI) programs.

In This Guide:

01 - Introduction
What is Perl and its history
02 - Perl Basics
Quick overview of scripting in Perl
03 - Variables
A variable is a place to store a value, so it can be referred to or altered throughout your program.
04 - References
References are scalar values and we can have an array or references.
05 - Subroutines
Subroutines help to organize your code
06 - Conditions
A brief overview of IF, UNLESS conditions as well as operators
07 - Parameters
Learn how to pass arguments and execute Perl values.
08 - Loops
How to create a For loop,
09 - Input / Output
In this chapter, you will learn how to use files and how to read from a pipe using the Perl language.
10 - Regular Expressions
In this chapter, you will know what regular expressions is all about. Also, topics like substitution, common operators, grouping, delimiter replacement and examples of regular expressions are discussed.
11 - Modules
Modules are Perl code that can be called from within your script to perform certain tasks.
12 - Interacting with the Shell
Perl allows you to run system functions within your code.
13 - Mail Integration
2 ways to send mails
14 - Conclusion
A summary of the ease, portability and simplicity brought by the Perl programming language.