- 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.
- 單片機C語言程序設計實訓100例:基于STC8051+Proteus仿真與實戰
- Python從菜鳥到高手(第2版)
- Developing Middleware in Java EE 8
- PostgreSQL技術內幕:事務處理深度探索
- The React Workshop
- Hands-On JavaScript High Performance
- Oracle 18c 必須掌握的新特性:管理與實戰
- 深入理解Elasticsearch(原書第3版)
- 大數據分析與應用實戰:統計機器學習之數據導向編程
- After Effects CC案例設計與經典插件(視頻教學版)
- Flask開發Web搜索引擎入門與實戰
- Responsive Web Design with jQuery
- Managing Windows Servers with Chef
- 秒懂算法:用常識解讀數據結構與算法
- Continuous Integration,Delivery,and Deployment