Inventory
The first part of the Perl language
Chapter Overview
One, Perl is what?
Second, Perl, where?
Third, run
4, note
Chapter simple variable
1, int
Second, floating-point
Third, the string
Chapter operator
1, arithmetic operators
Second, an integer comparison operators
Third, the string comparison operators
4, logical operators
5, bit operators
6, the assignment operator
7, since the increase from the reduced operator
8, the string coupling and repetition operators
9, comma operator
10, conditional operator
11, the order of operator
Chapter IV lists and array variables
First, the list
Second, the array - the list of storage
1, the array access
2, the string variable in square brackets and replace
3, the list of areas
4, the output of the array
5, list / array of length
6, sub-array
7, the array of library functions
Chapter read and write files
1, open, close the file
Second, read documents
Third, writing paper
Fourth, determine file status
5, the command line arguments
6, open channels
Chapter pattern matching
I. Introduction
Second, match operator
Third, the special character mode
1 character +
2, Character [] and [^]
3 characters * and?
4, the escape character
5, to match any letter or number
6, anchor pattern
7, mode variable substitution
8, the scope of the escape character prefix
9 matches any character
10, matching a specified number of characters
11, specify options
12, models part of the reuse
13, escape and special characters in the implementation of the order of
14, specified pattern delimiter
15, model order variable
4, pattern matching options
1, matching all possible modes (g option)
2, ignoring case (i option) cases
3, the string as multiple lines (m option)
4, only the implementation of a variable substitution cases
5, the string as a single case of
6, neglected spaces in the model
5, replace the operator
6, translation operators
7, extended pattern matching
1, does not match the contents of storage brackets
2, embedded mode option
3, positive and negative predictions match
4, pattern notes
Chapter VII of the control structure
First, conditional
Second, cycle:
1, while loop
2, until loop
3, for loop
4, for the list (array) for each element foreach loop
5, do loop
6, cycle control
7, the traditional goto statement
3, single condition
Chapter VIII of the subroutine
First, the definition of
Second, call
1, with & call
2, the first definition calls
3, forward references
4, with a call to do
Third, the return value
Fourth, local variables
5, subroutine parameters
1, form
2, transmit array
6, recursive subroutine
7, using the alias array of parameters passed
8, pre-defined subroutines
Chapter associative array (hash table)
First, limit the array variable
Second, the definition of
Third, access associative array elements
Fourth, increase the element
Fifth, create an associative array
6, copied from the array associative array of variables
7, additions and deletions of elements
8, listing the index and value arrays
9, using an associative array loop
10, using an associative array data structure created
1, (single) linked list
2 Structure
3, tree
Chapter formatted output
First, the definition of print format
Second, to demonstrate print format
Third, the value displayed in the print format
1, universal print format
2, format and local variables
3, select the range of formats
4, the output range of characters
4, output to other file
5, page
6, long string format
Seven, formatted output with printf
Chapter XI file system
1, file input / output functions
1, the basic I / O function
1) open function
2) redirect input using open
3) file redirection
4) Specify the read and write permissions
5) close function
6) print, printf and write functions
7) select function
8) eof function
9) Variable indirect file
2, skip and re-read data
3, the system read and write functions
4, read with getc characters
5, binary file read with binmode
Second, the directory handler
1, mkdir
2, chdir
3, opendir
4, closedir
5, readdir
6, telldir
7, seekdir
8, rewinddir
9, rmdir
Third, file attributes function
1, file re-positioning function
2, links and symbolic links function
3, file permissions function
4, the function of other attributes
4, using DBM files
Chapter XII Perl5 the reference (pointer)
I. Introduction References
Second, using reference
Third, use a backslash () operator
4, reference and array
5, multi-dimensional arrays
6, a reference to subroutine
Subroutine template
7, the array and subroutine
8, a reference to a file handle
Chapter XIII Perl object-oriented programming
I. Introduction Module
Second, Perl classes
Third, create a class
Fourth, the constructor
. Instance variables
V. Methods
6, methods of output
7, method calls
8, heavy
9, destructor
10, inheritance
11, method overloading
12, Perl classes and objects of some Notes
Chapter XIV Perl5 packages and modules
1, require the function
1, require the function and subroutine library
2, with the require Perl version of the specified
Second, including
1, including the definition of
2, switch between the package
3, main package
4, including a reference to
5, the designated non-current package
6, package and subroutine
7, using the definition of private data packet
8, package and system variables
9, access to the symbol table
Third, the module
1, create a module
2, Import Module
3, pre-defined modules
Recommended links:
ASF To MPG
News about Chat And Instant MESSAGING
Not just set arbitrary Flash player screensaver
Holiday promotion: how to make the cost may change from control
Tips to download lovers to SUPPORT the market
Alert! Memory PART of the address damage caused by crash
Directory Graphic Viewers
ASP.NET Introduces The Underlying Working Mechanisms
How Do We Advertise For White-collar?
Five easy way to get repeat customers
MKV to WMV
Using Visual Basic's Timer control
Lists Audio Players
MP4 to WMP
Evaluate Telephony
maniactools mp3tag editor brings order to your
Communication Must-read Of The Error Of Team Communication