On 06/21/2012 08:55 PM, Jo Rhett wrote:
>> $value = 1
>> $value-2 = 2
>> $sum = $value-2 +2
> 
> I don't see the problem. Those aren't ambiguous for a parser properly
> configured. $sum = 4.

...if the parser distinguishes "$value-2" from "$value - 2". Semantic
whitespaces? Really?

As so often, this is a matter of preference in the end, and personally
I'd clearly prefer $sum to be 1 :-)

Cheers,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to