- or download this
while (1) { ... next if () ... last }
- or download this
LINE: {
chomp($row = <$fh>) or last LINE;
redo LINE if $key < $min;
$done = 1 && return if ($key > $max);
}
- or download this
sub itter_maker { # return a function that passes back data allowed b
+y the given predicate subroutine
my $predicate = shift; #CODE ref
...
return;
});
}