Title: Message Title
Justin Holguin commented on an issue
Puppet / Bug PUP-1245
Arrays and hashes are mutable; new members can be added and existing values changed
Courtesy Henrik: Puppet doesn't let you reassign variables within a given scope, but it lets you change the values of hashes and arrays by mucking with their members. That seems wrong.

    $myary = ['zero', 'one', 'two']
    $myhash = {first => 'one', second => 'two', third => 'three'}

    $myary[3] = 'three' #can insert new element
    $myary[3...

--
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/groups/opt_out.

Reply via email to