Skip to content

Commit b041329

Browse files
committed
[Str] mark tables as tables
1 parent 4d48263 commit b041329

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

lib/Str.pod

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ passed is to be formatted into the string.
273273
274274
The directives are:
275275
276+
=begin table
277+
276278
% a literal percent sign
277279
c a character with the given codepoint
278280
s a string
@@ -288,28 +290,42 @@ The directives are:
288290
G like g, but with an uppercase "E" (if applicable)
289291
b an unsigned integer, in binary
290292
293+
=end table
294+
291295
Compatibility:
292296
297+
=begin table
298+
293299
i a synonym for %d
294300
D a synonym for %ld
295301
U a synonym for %lu
296302
O a synonym for %lo
297303
F a synonym for %f
298304
305+
=end table
306+
299307
Perl 5 (non-)compatibility:
300308
309+
=begin table
310+
301311
n produces a runtime exception
302312
p produces a runtime exception
303313
314+
=end table
315+
304316
Modifiers change the meaning of format directives, but are largely
305317
no-ops (the semantics are still being determined).
306318
319+
=begin table
320+
307321
h interpret integer as native "short" (typically int16)
308322
l interpret integer as native "long" (typically int32 or int64)
309323
ll interpret integer as native "long long" (typically int64)
310324
L interpret integer as native "long long" (typically uint64)
311325
q interpret integer as native "quads" (typically int64 or larger)
312326
327+
=end table
328+
313329
Examples:
314330
315331
sprintf "%ld a big number, %lld a bigger number\n", 4294967295, 4294967296;

0 commit comments

Comments
 (0)