Help for this page

Select Code to Download


  1. or download this
    while (1) { ... next if () ... last }
    
  2. or download this
     LINE: {
            chomp($row = <$fh>) or last LINE;
            redo LINE if $key < $min;
            $done = 1 && return if ($key > $max);
          }
    
  3. 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;
        });
    }