in reply to Re: last in do vs last in while/for
in thread last in do vs last in while/for

It doesn't matter whether the it's bottom tested or not. For example, you can break out of bottom tested loops in Visual Basic.

Also, consider

local $\="\n"; print('a'); { print('b'); last; print('c'); } print('d');
a b d

versus

local $\="\n"; print('a'); do { print('b'); last; print('c'); }; print('d');
a b Can't "last" outside a loop block at a.pl line 5.

See bellaire's post for the real reason.