From: Will Budic Date: Thu, 21 Sep 2023 06:59:24 +0000 (+1000) Subject: New help doco. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=c1f0a88e7b2e6a74bb1aaf5f4fcdb218bcf75c0c;p=LifeLog.git New help doco. --- 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'); ```