FAQ
Author: hinrik
Date: 2009-02-07 21:16:42 +0100 (Sat, 07 Feb 2009)
New Revision: 25235

Modified:
docs/Perl6/Spec/S26-documentation.pod
Log:
[S26] table the table of config options so it lines up correctly

Modified: docs/Perl6/Spec/S26-documentation.pod
===================================================================
--- docs/Perl6/Spec/S26-documentation.pod 2009-02-07 20:12:02 UTC (rev 25234)
+++ docs/Perl6/Spec/S26-documentation.pod 2009-02-07 20:16:42 UTC (rev 25235)
@@ -110,15 +110,15 @@
Perl6-ish option pairs. That is, any of:

=for table :nested
- Value is... Specify with... Or with... Or with...
- =============== ================== ============== ======================
- Boolean (true) C«:key» C«:key(1)» C«key => 1»
- Boolean (false) C«:!key» C«:key(0)» C«key => 0»
- String C«:key<str>» C«:key('str')» C«key => 'str'»
- List C«:key<1 2 3>» C«:key[1,2,3]» C«key => [1,2,3]»
- Hash C«:key{a=>1, b=>2}» C«key => {a=>1, b=>2}»
- Code C«:key{ sqrt($_) }»
-
+ Value is... Specify with... Or with... Or with...
+ =============== =================== ============== ======================
+ Boolean (true) C«:key» C«:key(1)» C«key => 1»
+ Boolean (false) C«:!key» C«:key(0)» C«key => 0»
+ String C«:key<str>» C«:key('str')» C«key => 'str'»
+ List C«:key<1 2 3>» C«:key[1,2,3]» C«key => [1,2,3]»
+ Hash C«:key{a=>1, b=>2}» C«key => {a=>1, b=>2}»
+ Code C«:key{ sqrt($_) }»
+
All option keys and values must, of course, be constants since Perldoc
is a specification language, not a programming language.
See L<Synopsis 2|http://dev.perl.org/perl6/doc/design/syn/S02.html#Literals>

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl6-language @
categoriesperl
postedFeb 7, '09 at 8:16p
activeFeb 7, '09 at 8:16p
posts1
users1
websiteperl6.org

1 user in discussion

Pugs-commits: 1 post

People

Translate

site design / logo © 2021 Grokbase