in reply to returning from the middle of a loop
sub blah { ... OUTER: foreach my $b (@blah) { foreach my $y (@yuck) { ... last OUTER if $something; ... } } # clean up } [download]