Very hard to help when we can't see your code. Be sure to follow these guidelines.
Without seeing, I can guess at a solution: test the file size before you do the push.
push @filelist,$filename unless -z $filename;
In reply to Re: Stopping empty files from been pushed into an array.
by GotToBTru
in thread Stopping empty files from been pushed into an array.
by ogbalex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |