Introduction to Perl

Introduction to Perl

The book provides an introduction to the new programming language Perl. This language is widely used in connection with the development of computer network. All of the examples in the book are checked for Perl version 5.003 operating system Unix FreeBSD 2.1.0
Contents


From simple to complex

Running Perl - program

Syntax

Declaration (Ad)

A simple sentence

Complex sentences

Cycles

while

Operators cycle management

next

last

redo

for

foreach

Blocks and switch statement

The goto statement

POD operators. Documenting Programs

Variables

Context

Scalar values

Designers scalar

Designers lists

Type typeglobs

Built-in variables

Regular expressions (patterns)

Operators and priorities

Baths and left-handed operators list comprehensions

Unary operators

Operators of "binding" and = ~ =

Multiplicative operators

Additive operators

The shift operators

Named unary operators

Operators Relations

Operators Equality

Operators working with bats

The logical operators && (AND) and || (OR)

The range operator ".."

Conditional Operator '?:'

Assignment Operators

The operator ',' (comma)

Logic not, and, or, xor

Operators limiters lines

Operators O

Merge constants

Integer arithmetic

Built-in functions

Subroutines

Private variables

Variables such as local

Prototypes (prototypes)

Link as a parameter

Overriding built-in functions

Startup

Modules

Table names

Constructors and destructors

Classes

Creating a Library

Pragma library

Standard libraries

CPAN

Report Formats

Debugging

Internet - Links and literature