Title: Message Title
Henrik Lindberg commented on an issue
Puppet / Improvement PUP-2088
Parser functions have arguments passed by reference rather than value
Variables in puppet manifests are immutable, for the most part, and parser functions are functions: they shouldn't have side effects on their inputs.

However, as the programing interface for functions passes by reference, all sorts of side effect shenanigans are possible. For example, this is the main guts of the 4.1.0 stdlib concat function:

{code:...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to