in reply to Strange behavior with List::Util qw{first} on perl >= 5.20
Looks like it is first() in List::Util that is the cause; the hash is not being modified.