Help for this page

Select Code to Download


  1. or download this
    opendir(my $dh, $dir)
        or die("opendir: $!\n");
    ...
        grep { ( !/\.(?:txt|prn|csv)\z/ && /$SrcPattern/ ) || -z }
        map "$dir/$_",
        readdir($dh);