in reply to Put "ls" in array

What have you tried so far, what do you think it should have done, and how does what it actually did differ from what you expected?