'enumerable' can get ARRAY_REF and HASH_REFS
'to_array' → 'to_arrayref' and 'to_hash' → 'to_array'
'where' can compare numbers
'where' can compare undef values
delete unnecessary line
undef compare test to 'where'