http://www.perlmonks.org?node_id=943827


in reply to How to efficiently parse "ls -a"?

The most efficient way to parse ls -a is to use stat (and lstat) instead.