Help for this page

Select Code to Download


  1. or download this
    my @logfiles = glob "*.log";
    
  2. or download this
    while(readdir $dh) {
        next unless -f and /\.log$/;
        # Process log file here
    }