will find *.txt in the current directory.opendir DIR, '.' or die "Error: $!"; my @files = grep { /\.txt$/ } readdir DIR;
In reply to Re: how to make wildcard work in if (-e *..)
by jsprat
in thread how to make wildcard work in if (-e *..)
by zhangy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |