You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Language/pod.pod6
+14-10Lines changed: 14 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -68,8 +68,8 @@ Boolean). Also note that "bigints" can be used if required.
68
68
For hashes, '$k1, $k2, ...' are keys of type Str and '$v1, $v2, ...'
69
69
are values of type String, Int, Number, or Boolean.
70
70
71
-
Strings are delimited by single or double quotes. Whitespace is insignificant outside
72
-
of strings. Hash keys need not be quote-delimited unless they contain
71
+
Strings are delimited by single or double quotes. Whitespace is not significant
72
+
outside of strings. Hash keys need not be quote-delimited unless they contain
73
73
significant whitespace. Strings entered inside angle brackets become lists when
74
74
whitespace is used inside the brackets.
75
75
@@ -80,9 +80,9 @@ Perl 6 pair notations.
80
80
81
81
The configuration section may be extended over subsequent lines by
82
82
starting those lines with an C<=> in the first (virtual) column followed
83
-
by a whitespace character. (NOTE: This feature is not yet completely implemented.
83
+
by a whitespace character. N<This feature is not yet completely implemented.
84
84
All configuration information currently must be provided on the same
85
-
line as the C<=begin> marker line or C<=for name> for paragraph blocks.)
85
+
line as the C<=begin> marker line or C<=for name> for paragraph blocks.>
86
86
87
87
=head2Paragraph blocks
88
88
@@ -122,10 +122,11 @@ sequence of closing brackets.
122
122
Blocks starting with C<#|> are attached to the code after them,
123
123
and blocks starting with C<#=> are attached to the code before them.
124
124
125
-
Since declarator blocks are attached to source code, they can be used to document
126
-
classes, roles, subroutines etc.
125
+
Since declarator blocks are attached to source code, they can be used to
126
+
document classes, roles, subroutines and in general any statement or block.
127
127
128
-
The C<WHY> method can be used on these classes, roles, subroutines etc. to return the attached Pod value.
128
+
The C<WHY> method can be used on these classes, roles, subroutines etc. to
129
+
return the attached Pod value.
129
130
130
131
=begincode :skip-test
131
132
#| Base class for magicians
@@ -163,7 +164,9 @@ sub search-in-seq( Int $end, Int $number ) {
163
164
»
164
165
=endcode
165
166
166
-
By using a matched pair of parenthesis constructs such as C<()> or C<«»> the comments can extend multiple lines. This format, however, will not translate to a multi-line display by C<perl6 -doc>.
167
+
By using a matched pair of parenthesis constructs such as C<()> or C<«»> the
168
+
comments can extend multiple lines. This format, however, will not translate to
169
+
a multi-line display by C<perl6 -doc>.
167
170
168
171
=head1Block types
169
172
@@ -184,8 +187,9 @@ where N is greater than zero (e.g., C<=head1>, C<=head2>, …).
184
187
185
188
=head2Ordinary paragraphs
186
189
187
-
An ordinary paragraph consists of text that is to be formatted into a document at the current level of nesting,
188
-
with whitespace squeezed, lines filled, and any special inline mark-up applied.
190
+
An ordinary paragraph consists of text that is to be formatted into a document
191
+
at the current level of nesting, with whitespace squeezed, lines filled, and any
192
+
special inline mark-up applied.
189
193
190
194
Ordinary paragraphs consist of one or more consecutive lines of text,
191
195
each of which starts with a non-whitespace character.
0 commit comments