Help for this page

Select Code to Download


  1. or download this
    my @lines = grep { -s && "$source/*.log" } readdir ($DIR);
    
  2. or download this
    my @lines = grep { /\.log$/ and -s "$source/$_" } readdir $DIR;