my $number = do { if ($logical_test) { $value } else { 0 } } #### $bla = $some_really_long_calculation_that / $you_just_don_t * $want_to_read_all_the_way_to_the_end if $something;