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


in reply to Put "ls" in array

Have a look at File::Next or alternativeley use readdir ...

pelagic