in reply to MakeMaker and multiple test directories

Unfortunately, that fails due to limitations of glob() on some platforms (read, Windows).

Could you clarify on the limitation. Perl's standard glob function seems to work fine for me?

P:\test>perl -le" print for glob 'c:/test/words/*/*'; c:/test/words/a/aa c:/test/words/a/ab c:/test/words/a/ac c:/test/words/a/ah c:/test/words/a/ak c:/test/words/a/al c:/test/words/a/am c:/test/words/a/an c:/test/words/a/ar c:/test/words/a/as c:/test/words/a/au c:/test/words/a/aw ... c:/test/words/c/aa c:/test/words/c/ab c:/test/words/c/ac c:/test/words/c/ad c:/test/words/c/ae c:/test/words/c/af c:/test/words/c/ag ...

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller

Replies are listed 'Best First'.
Re: Re: MakeMaker and multiple test directories
by simonm (Vicar) on Jul 23, 2003 at 21:41 UTC

    Perl's standard glob function seems to work fine for me?

    Looking at the bug report again, it seems I may have misinterpreted it -- it looks like the limitation is not with the Perl glob() function. Instead, the problem is that MakeMaker ends up passing the the pattern to the test script on the command line, such that it's the Windows command shell that's responsible for the wildcard matching, not Perl's glob().

    Good catch, and I'll update my original post. (If I can figure out how to do so...)