in reply to break/continue statements

what you want are next and last:
while ($some_condition == 1) { if ($want_to_start_over) { next; } elsif ($want_to_quit) { last; } &do_whatever_else; }