splice(@{$hash{users}}, map {++$i && $_ eq 'user2' ? ($i-1) : ()} @{$hash{users}},1)