Title: Message Title
Charlie Sharpsteen commented on an issue
Puppet / Bug PUP-2160
Undocumented hash lookup change in Puppet 3.5.0
Consider this code:

{noformat}
$h = { "k1" => "value" }
$v = $h["k2"]
{noformat}

Puppet 3.5.0 sets $v to undef. Earlier versions set $v to the empty string, I believe. (Possibly that isn't true. Possibly it is instead some comparison changes that bites me.)

What happens when you look up a non-existing key in a hash should be documented on htt...

--
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
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