I was just looking at Can someone tell me how to create an array of directory contents?. Unsurprisingly, file globs were offered as an answer. What surprised me was that the post recommended using glob()
rather than <*>
.
I use use <*>
because that is what I learned a long time ago and have never thought about it. Which is not a good reason.
What syntax do you prefer for globbing, and why?