in reply to glob operator problems
The glob docs say this:
Note that "glob" will split its arguments on whitespace, treating each segment as separate pattern.
Great. How do I get around that? I tried escaping the space:
Ah. I was in windows hell. I need two backslashes so that the literal '\ ' is seen by perl? The shell?my @files = glob "/Volumes/NIKON\ D5000/*.*";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: glob operator problems
by ikegami (Patriarch) on Jan 15, 2010 at 06:06 UTC | |
by matze77 (Friar) on Jan 15, 2010 at 06:35 UTC | |
by ikegami (Patriarch) on Jan 15, 2010 at 06:47 UTC |