Displaying 1 result from an estimated 1 matches for "02_config".
Did you mean:
01_config
2011 Aug 01
0
prep for 2.8: scopes and variables: nodes are not classes
...s by explicitly
mentioning the scope of the class.
This post doesn''t talk about default
values, inheritance, or specialization.
I will talk about that later.
Attached are three scripts
01_config.pp
old style
defines variables in nodes
relies on dynamic scope
02_config.pp
broken
failed attempt to qualify variables
nodes are not classes
nodes cannot be named as a scope
03_config.pp
fixed, new style
all variables defined in classes
nodes as containers for classes
no variables defined in node...