the solution of moritz it's more robustreaddir ($DIR); # ignore . readdir ($DIR); # ignore ..
@files = grep {/^(?!\.{1,2}\z)/} readdir($DIR);
In reply to Re^2: selcting all files in a given directory except......
by glide
in thread selcting all files in a given directory except......
by asdfghjkl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |