| |
---|
| | a leading period in a variable name to be a "namespace escape". |
---|
| | This is discussed in a later section on lexical namespaces. |
---|
| | |
---|
| | .IP \(bu 4 |
---|
| | Variable names cannot contain the \'[\' or \']\' characters. These |
---|
| | are reserved symbols used to indicate a variable |
---|
| | .B reference. |
---|
| | |
---|
| | .IP \(bu 4 |
---|
| | You cannot have a variable whose name is the empty string. This is |
---|
| | illegal: |
---|
| | |
---|
| | .nf |
---|
| |
---|
| | FOO = Goodness |
---|
| | BAR = Me |
---|
| | Oh[FOO][BAR] = Goodness Gracious Me! |
---|
| | |
---|
| | # But This Does NOT Do What You Might Think |
---|
| | |
---|
| | [FOO[BAR]] = Something Or Other # Avoid nested constructs like this! |
---|
| | # But This Kind Of Nesting Attempt Causes An Error |
---|
| | |
---|
| | [FOO[BAR]] = Something Or Other |
---|
| | .fi |
---|
| | |
---|
| | .SS Lexical Namespaces |
---|
| | |
---|
| |
---|
| | |