- Perl 6 Deep Dive
- Andrew Shitov
- 170字
- 2021-07-03 00:05:46
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.
- 深入理解Bootstrap
- 深度學習經典案例解析:基于MATLAB
- Power Up Your PowToon Studio Project
- PaaS程序設計
- C和C++安全編碼(原書第2版)
- ASP.NET 3.5程序設計與項目實踐
- C++ 從入門到項目實踐(超值版)
- Python:Master the Art of Design Patterns
- 焊接機器人系統操作、編程與維護
- iPhone應用開發從入門到精通
- Python趣味編程與精彩實例
- 程序員的成長課
- Learning TypeScript
- Isomorphic JavaScript Web Development
- Practical Linux Security Cookbook