I'm pretty sure that works the same way
in reply to Re^2: Flipin good, or a total flop?
in thread Flipin good, or a total flop?
does, and is not to be trusted to continue to do what you mean.
my $i = 13 if $expr;
No, maybe I'm wrong. Hmm.
Update: as long as you don't modify $start or $end except in cases where they were already set, I think you can count on this continuing to work, even if the my $foo if bar thing is "fixed". But I'd expect that if a warning is added for the my $foo if bar thing, that you'd get the warning with your code also.