Looks like it is first() in List::Util that is the cause; the hash is not being modified.
In reply to Re: Strange behavior with List::Util qw{first} on perl >= 5.20
by GotToBTru
in thread Strange behavior with List::Util qw{first} on perl >= 5.20
by papioko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |