in reply to Out of Memory with File::Glob

File::Find may provide you with an end-run around the problem, depending upon what it is you are trying to do.