Thanks vr for the help!
I am using Strawberry Perl (64-bit) 5.30.1.1-64bit.
In reply to Re^6: Function to sweep a file tree by bojinlund in thread Function to sweep a file tree by bojinlund