in reply to Counting only certain files...
This returned all files except '.' and '..' and a file named 'list.txt'.@Files = grep {not /^(\.\.?|list\.txt)$/} readdir(DIR);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Counting only certain files...
by perlplexer (Hermit) on May 17, 2001 at 21:37 UTC | |
by SysAdm (Novice) on May 18, 2001 at 09:26 UTC |