Help for this page

Select Code to Download


  1. or download this
    when is experimental at <script_name> line 10.
    when is experimental at <script_name> line 11.
    
  2. or download this
        while(my $line = <$fd>){
            for($line){
    ...
                $count++ when /failed/;     # count matching lines
            }
        }
    
  3. or download this
        while (<$fd>) {
            print    if /Total/;      # print matching lines
            $count++ if /failed/;     # count matching lines
        }