Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Stopping empty files from been pushed into an array.by roboticus (Chancellor) |
on May 13, 2015 at 19:49 UTC ( [id://1126593]=note: print w/replies, xml ) | Need Help?? |
Sure, just don't push the file onto the array if they're empty:
Update: Corrected len to length. (Too much Python today at work...) ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|