官术网_书友最值得收藏!

Creating Pod documentation

Pod is a sublanguage inside Perl 6 used to write documentation. It can be considered as an extended version of comments, which allows more functionality in expressing the content. Pod in Perl 6 is the evolution of the POD (Plain Old Documentation) in Perl 5. In Perl 6, the name is not an abbreviation and thus is not capitalized. In this section, we will examine the syntax of the Pod markup language.

Pod content is placed in the same source file as the Perl 6 program itself. A Pod section is a series of lines containing some textual information. The compiler is switching between parsing Pod and Perl 6 when it sees the beginning and ending marks of the Pod section. Pod syntax is designed to express the semantics of the documentation and to help organize it in a more structured way.

Let's see how you create a Pod block. There are a few types of Pod blocks, as well as a few ways of creating them.

主站蜘蛛池模板: 崇仁县| 清流县| 玉溪市| 汶川县| 山阴县| 武胜县| 青阳县| 凭祥市| 科尔| 安义县| 华阴市| 宿州市| 多伦县| 舞阳县| 凌云县| 宁安市| 湘潭市| 鱼台县| 仁布县| 北流市| 华容县| 丰城市| 星座| 平利县| 南充市| 普安县| 江安县| 维西| 大理市| 谷城县| 繁昌县| 临汾市| 同德县| 宜黄县| 鄯善县| 东乡县| 册亨县| 四平市| 金堂县| 高密市| 五寨县|