From c1f0a88e7b2e6a74bb1aaf5f4fcdb218bcf75c0c Mon Sep 17 00:00:00 2001 From: Will Budic Date: Thu, 21 Sep 2023 16:59:24 +1000 Subject: [PATCH] New help doco. --- .../docs/PerlCNF/PerlCNFConstantAnonExplained.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/htdocs/cgi-bin/docs/PerlCNF/PerlCNFConstantAnonExplained.md b/htdocs/cgi-bin/docs/PerlCNF/PerlCNFConstantAnonExplained.md index 1b12e8e..7cdce0a 100644 --- a/htdocs/cgi-bin/docs/PerlCNF/PerlCNFConstantAnonExplained.md +++ b/htdocs/cgi-bin/docs/PerlCNF/PerlCNFConstantAnonExplained.md @@ -122,6 +122,7 @@ Anons which are instructional must be scripted standalone. There is three type of collections. Convention is to prefix collection property name with the instruction signifier of either **@** or **%**. + The list signifier is a **$$** postfix to the name. 1. Array type. @@ -143,17 +144,17 @@ Anons which are instructional must be scripted standalone. ``` ```PERL - my $list = $parser->collection('@SomeList'); - my $hash = %{$parser->collection('%SomeHash')}; + my @list = $parser->collection('@SomeList'); + my %hash = %{$parser->collection('%SomeHash')}; ``` - -3. List Type - 1. Collections as named list so can be scripted into multiple properties or files (includes). +3. List Type (experimental) + 1. Collections as a named list so can be scripted into multiple properties or files (includes). ```CNF <1,3,5,9,13>> - <19,23,113>> + <19,23, + 113>> ``` ```PERL - my $list = $parser->list('MyList'); + my @list = $parser->list('MyList'); ``` -- 2.34.1