Perl development documentation

Source: Internet
Author: User
Tags perl interpreter

 

 

Code

  In a PerlProgramYou can embed a document to describe the features and usage of the program. Pod (plain old documentation) is the most common embedded document.
= Pod:
This command indicates the beginning of the pod document, telling the perl interpreter that the subsequent content does not need to be interpreted " = Cut " Command.
= Cut :
This command is used to indicate the end of a pod document.
= Head1
= Head2:
The two commands represent the first and second sub-sections.
= Over:
Indicates the list of start segments.
= Back:
And = Corresponds to over, indicating the end list
= Item:
Start a list entry. Must be in " = Over " , " = Back " Between. In " = Over " , " = Back " At least one " = Item " .
Item special format " = Item * " Indicates that an entry is followed by a horizontal line.

Note that there must be blank lines before and after each command section.
Example:

= Pod

Author : Xxx
Date : Xxx

= Cut

= Pod

Function testaa
Function Description :
Input parameters:

= Cut

 

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.