Help for this page

Select Code to Download


  1. or download this
    grep BLOCK LIST
    grep EXPR,LIST
    
  2. or download this
    grep ': FAIL' $logFile
    
  3. or download this
    open my $fh, '<', $logFile or die $!;
    my $status = grep /: FAIL/, <$fh>;
    # or
    my $status = grep { -1 != index $_, ': FAIL' } <$fh>;
    
  4. or download this
    my $status = system 'grep', ': FAIL', $logFile;