$x = $some_hash{ maybe_foo() }{ bar };