Perl tutorial
Perl is the abbreviation of Practical Extraction and Report Language and can be translated into “practical report extraction language”.
Perl is a high-level, universal, literal and dynamic programming language.
Perl, originally designed by Larry Wall, was released on December 18, 1987.
Perl borrows features from C #, sed, awk, shell scripting, and many other programming languages.
The most important feature of Perl is the integration of regular expressions within Perl and the huge third-party code base CPAN.
Who is suitable for this tutorial?
This tutorial is for developers who want to learn the Perl programming language from scratch. Of course, this tutorial will also go deep into some modules to give you a better understanding of the application of Perl.
Before you take this tutorial, you need to know
Before continuing this tutorial, you should know some basic computer programming terms. If you have studied other programming languages such as PHP,ASP, it will help you understand Perl programming faster.
The first Perl program
For most programming languages, the first entry programming code is “Hello World!” The following code outputs “Hello World!” using Perl :
Example
#!/usr/bin/perlprint"Hello, World!\\n";