Perl Tutorial

Perl TutorialThis section provides a comprehensive Perl tutorial with clear explanation and practical programming examples.

Powerful, stable, portable and mature, Perl is one of the most feature-rich programming languages with over two decades of development.  Perl is portable and cross-platform. Currently Perl can run on over 100 platforms. Perl is good for both mission critical large scale projects and rapid prototyping.

Getting Started with Perl

If you are new to Perl…

Basic Perl Tutorial

In this part, you are going to get familiar with Perl language. We will show you basic Perl syntax, data types and control flow statements.

Perl Regular Expression

Regular expressions allow you to look for patterns in your data. Regular expressions in Perl are powerful and very simple to use. In this part, you will learn the basic regular expression matching, substitutions, lookahead/lookbehind anchors and create useful regular expressions for your programs.

Perl Reference

Perl reference is simple but very powerful. In this part, you will have brief overview of Perl references. You will learn more about different types of Perl references and autovification concept.  We will show you how to apply Perl references effectively in your program.

Perl Subroutine

A large program is divided into reusable units of code which are known as functions or subroutines. In this part, we will show you how to define a simple subroutine, pass parameters to subroutine by reference or value and pass array’s reference to subroutines.

Perl File I/O

In this part, we are going to show you how to deal with File I/O such as opening file, reading from file and writing to file using filehandles. We’ll show you other file handling techniques using a very useful diamond operator (<>).

Feedback

Please help us out to build a good Perl tutorial for the developers community by giving us your suggestions and feedback on our tutorials via feedback form.