- 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.
- 數字媒體應用教程
- JIRA 7 Administration Cookbook(Second Edition)
- 看透JavaScript:原理、方法與實踐
- 碼上行動:零基礎學會Python編程(ChatGPT版)
- 編程可以很簡單
- FFmpeg開發實戰:從零基礎到短視頻上線
- Python計算機視覺和自然語言處理
- Python一行流:像專家一樣寫代碼
- WordPress Search Engine Optimization(Second Edition)
- Getting Started with Windows Server Security
- The Java Workshop
- Effective DevOps with AWS
- Data Visualization:Representing Information on Modern Web
- Lucene 4 Cookbook
- AngularJS Directives Cookbook