Help for this page

Select Code to Download


  1. or download this
    opendir(hand,$ARGV[0]);  #replace ARGV[0] with your DIR
        @files = readdir(hand);
    ...
                push(@logfiles,$_);  
            }
        }
    
  2. or download this
    while (scalar @Threads < scalar @logfiles) {
            @running = threads->list(threads::running);
    ...
            }
            
        }
    
  3. or download this
    $nooffiles = @logfiles;
    $fileindex=0;
    ...
    open hanr ,">", "$logfiles[$fileindex]" or die "could not open logfile
    + .. $!";
    $fileindex++;
    }