Sela

Basic Perl Programming

Description
The scripting language Perl is has extensive features but is easy-to-use. This makes it easy to write concise yet powerful scripts for complex data manipulation and administration. This course gives an introduction to the Perl programming language. In addition, Perl’s GUI Tool Kit (TK) will be introduced.
Intended audience
The course is meant for users, administrators and programmers who want to learn the basics of Perl programming.

Topics

What Perl?
Getting Perl
Running Perl programs
Writing a simple Perl program
The difference between interpretive and compiled programming languages
Understanding Scalar Values
What Is a Scalar Value?
All Numbers Use the Same Format Internally
Float Literals
Integer Literals
Character Strings
Single-Quoted Strings
Double-Quoted Strings
scalar variables
The basic arithmetic operators
Expression
More operators
if statement
else and elsif
while and until statements
The do {} while/until Statement
The for Statement
Introducing Lists
Literal Representation
Storing Lists in Array Variables
Array Operators
Array Element Access
Exceeding limits
Negative Index
The push and pop Functions
The shift and unshift Functions
The reverse Function
The sort Function
The chomp Function
<STDIN> as an Array
What is a Filehandle?
Opening and Closing a Filehandle
A Slight Diversion: die
Using Filehandles
File Tests and Their Meanings
Manipulating the file pointer
Concepts About Regular Expressions
Simple Uses of Regular Expressions
substitute operator
Single-Character Patterns
Multipliers
General multiplier
Alternation
^ and $
The =~ Operator
The split Function
The Join Function
Defining a User Function
Invoking a User Function
Return Values
Arguments
Private Variables in Functions
What Is a Hash?
Hash Variables
Literal Representation of a Hash
Hash Functions
Hash Slices
Making References
Basic Usage of references
Nested Structures
Hash Reference

רוצה לדבר עם יועץ?

האם אתה בטוח שאתה רוצה לסגור את הטופס ולאבד את כל השינויים?