Address: http://blog.chinaunix.net/uid-28671666-id-3554676.html
Perl Learning Method
- Take notes, "a good memory is not as good as a bad pen", the concept, method, skills and other important content must be recorded, so as to deepen the impression and facilitate the use of time.
- Hands-on experiment: "The paper has a very short experience, and you know that this is a must." After learning some knowledge from books, you can give yourself a proposition and encode the experiment, it is best to extend the encoding according to your own understanding.
- Communicate Frequently and discuss frequently to create a good learning atmosphere. Students can take a certain amount of time to communicate with each other every day. They can also use their spare time on their way back before and after meals to talk about a certain point of knowledge. Everyone will talk about their own understanding and opinions, let the spark of thinking come together and everyone will learn and grow together.
- Take the initiative to solve the problem and moderate consultation. Don't give me a question. I don't like it, but I want to ask questions from others. If you encounter a problem, try to solve it first. If you feel that the knowledge span is large and cannot be solved within a short period of time, consult with others. Do not waste too much time on a problem.
Use Perl online help
Perl comes with a large amount of reference materials, which can be said to be more comprehensive and detailed than any Perl book. To learn more about Perl, you must first use the online help function of Perl.
Online Help Command: perldoc
- View Perl's help Bibliography
Perldoc Perl: This command lists all the online help books of Perl. Each book has a brief introduction to the content. perldoc can open the corresponding books.
Perldoc perlrequick -- Perl Regular Expression Quick Guide perldoc perldebtut -- Perl program debugging tutorial perldoc perlboot -- Perl object-oriented tutorial perldoc perlmodlib -- How to Use the Perl module ......
- View usage of Perl system functions
perldoc -f sortperldoc -f join
- View the Module User Manual
man Data::Dumperman Test::More
Http://docstore.mik.ua/orelly/perl/cookbook/
Perl beginners
Learning focus
Perl features are rich and many knowledge points need to be learned. It is often dazzled by new users. I don't know where to start. How can I grasp the key points and where to learn Perl? In general, Perl Beginners should focus on the following aspects:
- The data organization form of Perl: Scalar, common array, and hash array (also called associated array). scalar is easy to understand and focuses on the nature and operation of common arrays and hash arrays.
- Operator
- Input and Output: Read the input from the terminal (or file), and output the calculation result to the terminal (or file)
- Program control structure, condition control, loop control...
- Regular Expression, text matching, search, and replacement...
- Function
- File Operations
- Concepts and usage of modules