Is there a leak/bug in glob()?

Due to the current implementation on some operating systems, when you use the glob function or its angle-bracket alias in a scalar context, you may cause a leak and/or unpredicatable behavior. It's best therefore to use glob only in list context.