Next Program Repair Shop 281

Compound Compound Compound Statements

     my @files = grep { $_ ne '.' && $_ ne '..' } readdir FILELISTDIR;
     push @FileList, map "$dir/$_", @files;
     push @FileList, 
        map {"$dir/$_"}
        grep { $_ ne '.' && $_ ne '..' } 
        readdir FILELISTDIR;


Next Copyright © 2002 M. J. Dominus