Perl Learning Handbook is an article written by a Taiwanese Perl master, specially packaged as a chm version for everyone's convenience.
About this book
1. About Perl
1.1 History of Perl
1.2 Concept of Perl
1.3 Features
1.4 Environment for using Perl
1.5 Getting started with Perl
1.6 Your first Perl program
2. Scalar variables (Scalar)
2.1 About scalars
2.1.1 Numeric value
2.1.2 String
2.1.3 Number and string conversion
2.2 Use your own variables
2.3 Assignment
2.3.1 Set directly Defined
2.3.2 It can also be done like this
2.4 Operation
2.5 Output/input of variables
2.6 Perl default variables
2.7 defined and undef
3. Lists and Arrays
3.1 What is an array
3.2 Perl’s array structure
3.3 push/pop
3.4 shift/unshift
3.5 Slicing
3.6 Array Or a scalar?
3.7 Some common array operations
3.7.1 sort
3.7.2 join
3.7.3 map
3.7.4 grep
4. Basic control structure
4.1 Concept
4.1.1 About the program flow
4.1.2 True and false judgment
4.1.3 Block
4.1. 4 Life cycle of variables
4.2 Simple judgment
4.2.1 if
4.2.2 unless
4.2.3 One-line judgment
4.3.4 else/elsif
4.3 Repeated execution
4.3.1 while
4.3.2 until
4.4 for
4.4.1 Written like C
4.4.2 In fact, you can use... .
4.4.3 Interesting increment/decrement operators
4.4.4 For elements in the array
5. Hash
5.1 Daily life Hash
5.2 Hash expression
5.3 Hash assignment
5.4 each
5.5 keys and values
5.6 Hash operation
5.6.1 exists
5.6.2 delete
5.7 How to get started with hashing
6. Subroutines
6.1 About Perl subroutines
6.2 Parameters
6.3 Return value
6.4 Let’s talk about parameters again
6.5 Use of variables in subroutines
7. Regular expressions
7.1 Perl’s second sharp sword
7.2 What are regular expressions
7.3 Style comparison
7.4 How to compare in Perl
7.5 How to start using regular expressions
8. More about regular expressions Expression
8.1 Just take a spoonful of drink
8.2 Comparison character set
8.3 Special characters of regular expressions
8.4 Some modifying characters
8.5 Get the comparison Results
8.6 Anchor points
8.7 Comparison and replacement
8.8 Interesting exchanges within strings
8.9 Don’t be greedy for comparison
8.10 If you have duplicate words
8.11 Comparison style group
8.12 Comparison style control
9. Let’s talk about the control structure again
9.1 Loop operation
9.1.1 last
9.1.2 redo
9.1.3 next
9.1.4 label
9.2 switch
9.2.1 If you have complex if judgment
9.2.2 Use modules To do it
9.3 Ternary operator
9.4 Another little trick
10. Perl file reading and writing
10.1 File Handle (FileHandle)
10.2 Default file handle
10.3 Basic file operations
10.3.1 Open/close files
10.3.2 Emergency handling
10.3.3 Reading and writing
11. File system
11.1 File testing
11.2 Important file-related built-in functions
11.3 localtime
12. String processing
12.1 Simple string form
12.2 uc and lc
12.3 sprintf
12.4 Sorting
12.5 Multi-subkey sorting
13. Modules
13.1 About program reuse
13.2 What you should know about CPAN
13.3 Using CPAN and CPANPLUS
13.4 Using modules
13.5 Start writing your package
14. Reference
14.1 What is a reference
14.2 Obtaining a reference
14.3 The content of the reference
14.4 Using references to create two-dimensional arrays
15. About Basic operations of database
15.1 DBM
15.1.1 Connection with DBM
15.1.2 Operation of DBM files
15.1.3 Multiple data
15.2 DB_File
15.3 DBI
15.4 DBIx::Password
16. Writing website programs with Perl
16.1 CGI
16.2 Template
16.3 Mason
< br />17. Perl and system management
17.1 Advantages of Perl in system management
17.2 Perl’s single-line execution mode
17.3 Managing files
17.4 Mail management
17.4 .1 Mail::Audit + Mail::SpamAssassin
17.4.2 Mail::Sendmail and Mail::Bulkmail
17.4.3 POP3Client and IMAPClient
17.5 Log files
17.6 Reports
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn