Perl Learning Method

Source: Internet
Author: User
Tags perl regular expression learn perl

Address: http://blog.chinaunix.net/uid-28671666-id-3554676.html

Perl Learning Method
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  • View help Bibliography
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
  • Books

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:

  1. 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.
  2. Operator
  3. Input and Output: Read the input from the terminal (or file), and output the calculation result to the terminal (or file)
  4. Program control structure, condition control, loop control...
  5. Regular Expression, text matching, search, and replacement...
  6. Function
  7. File Operations
  8. Concepts and usage of modules
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.