# instead of: if (exists $x->{a}[0]{c}) { if (exists ${ ${ $x->{a} || [] }[0] || {} }{c}) {