in reply to File::DosGlob
From perldoc File::DosGlob:
Spaces in the argument delimit distinct patterns, so `glob('*.exe *.dll')' globs all filenames that end in `.exe' or `.dll'. If you want to put in literal spaces in the glob pattern, you can escape them with either double quotes, or backslashes. e.g. `glob('c:/"Program Files"/*/*.dll')', or `glob('c:/Program\ Files/*/*.dll')'. The argument is tokenized using `Text::ParseWords::parse_line()', so see the Text::ParseWords manpage for details of the quoting rules used.
Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com
|
|---|