Neil Watson wrote:
> On Wed, Dec 02, 2009 at 11:04:49PM +0100, Nicolas Charles wrote:
>> Shouldn't it be $(mod) rather than ${mod} ? I guess the () are for
>> function parameters, whereas {} are for variables and classes, isn't it
>
> {} and () can both be used to identify variables.
Which has always been true, but for my own edification... Some bloggers
used to say the old 2.x parser was more easily confused by one form than
the other. I presume that is all fixed in 3.x, and does it even/still
hold for 2.x? (We have policies with both, depending who wrote 'em.)
I would just say... pick one and stick to it (shove it in your local
site's style guide or something).
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine