On 15 Jun 2011, at 9:56 AM, Dan Bode wrote:
> I just wanted to clarify something from this email. Although the best way to
> get traction for a ticket in the future will be voting in the ticketing
> system, people are always welcome to highlight particular tickets in order to
> solicit votes.
In that case, I'll make a shameless plug for #6863 -- allow array literals to
be given as function arguments in the parser. I'm pretty sure it's just an
oversight that this isn't currently allowed, but it leads to ugly workarounds
like this:
$array = ['a','b','c']
$var = myfunction('first arg', $array)
$empty_array = []
$other_var = myfunction($empty_array)
--
Ian Ward Comfort <[email protected]>
Systems Team Lead, Academic Computing Services, Stanford University
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.