6 my @m = File::DosGlob::doglob(1,$arg);
7 print (@m ? join("\0", sort @m) : $arg);
14 perlglob.bat - a more capable perlglob.exe replacement
18 @perlfiles = glob "..\\pe?l/*.p?";
19 print <..\\pe?l/*.p?>;
21 # more efficient version
22 > perl -MFile::DosGlob=glob -e "print <../pe?l/*.p?>"
26 This file is a portable replacement for perlglob.exe. It
27 is largely compatible with perlglob.exe (the Microsoft setargv.obj
28 version) in all but one respect--it understands wildcards in
31 It prints null-separated filenames to standard output.
33 For details of the globbing features implemented, see
36 While one may replace perlglob.exe with this, usage by overriding
37 CORE::glob with File::DosGlob::glob should be much more efficient,
38 because it avoids launching a separate process, and is therefore
39 strongly recommended. See L<perlsub> for details of overriding
44 Gurusamy Sarathy <gsar@activestate.com>