in reply to looking for a good idiom: return this if this is true

it's an abuse of map, but it's concise:
map{$_&&return$_}thatroutine();