Help for this page

Select Code to Download


  1. or download this
    open ( $fh, "< $path_to_file");
    binmode($fh);
    ...
    while ($line = pop @log) {
        last if ($line =~ /^.*\ -\ line I'm looking for$/);
    }
    
  2. or download this
        last if ($line =~ /^.*\ -\ line I'm looking for/);