You could try the glob() function instead of filtering the contents of the directory yourself, like this:
my @files = glob("*.txt");In reply to Re: Strange Error
by kejohm
in thread Strange Error
by JimboMcDeans
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |