in reply to Too many tests for Windows command line?

You could try globbing @ARGV in a begin block:

perl -e"BEGIN{ @ARGV=map glob, @ARGV }" -le"print for @ARGV" t\*.t

If the shell has already expanded the file arguments then the glob will have no effect, but on win32 it will expand it.

perl's glob will also expand wild cards in the paths so things like:

perl -le"BEGIN{ @ARGV= map glob, @ARGV}" -e"print for @ARGV" t/*/*.t

Become possible should you want to structure your test directory beyond one level.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon