> So...list context on the left, which then creates an anonymous array, which array, when evaluated in boolean/scalar context, produces the length of the array?
No arrays involved, not even anonymous!
It's just a list-assignment in scalar context.
I would say much more performant than the former solution.
> Despite the admonition not to use <> for globbing?