{ $a->{'b'} = do {$b or last} } #### ($a->{'b'} = $b) or delete $a->{'b'};