print ${exists $foo{'bar'}}; #[...][is] really no different from: print ${$foo{'bar'}};