Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Perl Tutorial

Perl Tutorial

Perl is an abbreviation of Practical Extraction and Report Language, which can be translated as "Practical Report Extraction Language".

Perl is a high-level, general-purpose, interpreted, dynamic programming language.

Perl was originally designed by Larry Wall and released on December 18, 1987.

Perl borrows features from C, sed, awk, shell scripts, and many other programming languages.

The most important feature of Perl is its built-in regular expression capability, as well as the huge third-party code repository CPAN.


Who should read this tutorial?

This tutorial is suitable for developers who want to learn the Perl programming language from scratch. Of course, this tutorial also goes in depth on some modules to help you better understand the applications of Perl.


What you need to know before studying this tutorial

Before continuing with this tutorial, you should understand some basic computer programming terms. If you have studied other programming languages such as PHP or ASP, it will help you understand Perl programming more quickly.


The first Perl program

For most programming languages, the first introductory programming code is "Hello World!"; the following code uses Perl to output "Hello World!":

Example

#!/usr/bin/perl

print

"

Hello, World!

\n

"

;

Run Example »