File: using-pod-in-nqp.md

package info (click to toggle)
nqp 2024.09%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,972 kB
  • sloc: java: 28,087; perl: 3,479; ansic: 451; makefile: 202; javascript: 68; sh: 1
file content (17 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## Using POD in NQP

Limited pod use is acceptable in nqp files.  The following forms are currently allowed:

### Single-line entries

    =identifier ...text...  # note that use of 'cut' as an identifier will cause a panic

Any word (other than 'cut') is accepted as an identifier. The entry may be used inside a pod block.

### Blocks

    =begin ...optional identifier... ...optional text...
    ...any text
    =end ...optional identifier...

If the ```=begin``` has an identifier, the ```=end``` must have the same identifier.