Greetings,
I am trying to get a list of the files that are in a directory using:
'/home/cpulo/data' asFileName fileNames.
Inspecting this line of code shows me that the pathname is a ByteString which is a subclass of String. String has a method called fileNames.
Three questions:
Why does the pathname evaluate as a ByteString?
Why doesn't the ByteString respond to the fileNames message?
How do I do this?
Thanks, Chris