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

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.

主站蜘蛛池模板: 永城市| 兰溪市| 黑水县| 通州市| 双鸭山市| 广丰县| 滨海县| 乐都县| 乌兰浩特市| 长岛县| 扶余县| 揭西县| 东乡族自治县| 云南省| 河津市| 来安县| 镇沅| 梅河口市| 清徐县| 嘉善县| 罗田县| 潜江市| 镇安县| 黔西| 东乡| 聊城市| 东乡族自治县| 和平区| 新化县| 建阳市| 盐池县| 栖霞市| 安龙县| 南城县| 连平县| 甘孜| 嘉禾县| 赣榆县| 綦江县| 田林县| 延边|