in reply to Re: Re: Why is @array so slow?
in thread Why is @array so slow?
glob() either mimics the shell or delegates to it for pattern expansion. Consider the difference between
and% echo foo foo %
when there are no files begining with "foo" in the current directory.% echo foo* echo: No match. %
|
|---|