sub x{ values%{{map{(ref$_?1:defined$_?2:3).$_,$_}@_}} }