What are the comparative advantages of glob('foo*') over ?

后端 未结 3 1382
陌清茗
陌清茗 2021-02-19 05:10

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 p

3条回答
  •  被撕碎了的回忆
    2021-02-19 05:43

    These days I stick with glob, because I find it to be more readable and newbie-friendly(*) as compared to using angle brackets.

    (*) perldoc -f glob works.

提交回复
热议问题