Antwort von
perlubgs@perl.de
QuoteSpaces in the glob denote multiple patterns. You must escape spaces that
are intended as literal spaces in the pattern. From the documentation
for 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
Text::ParseWords for details of the quoting rules used.
Regards,
Randy.
Oder kurz: RTFM...
Jetzt muss ich nurnoch heraus bekommen, wie ich automatisiert meine File::Spec-catfile() - erzeugten Pfade entsprechend gequotet bekomme.\n\n
<!--EDIT|pktm|1123945370-->