in reply to directories with spaces
Well, you're printing out the error message, so don't keep it to yourself - tell us exactly what it says.
I don't know much about Windows, but I suspect that printing the $dir variable in the error message (as you do) will give you a clue as to what is going wrong.
Have you trying putting your directory name in single quotes? Does that make any difference? The backslash character has a special meaning in double quotes[1].
[1] Yes, it has a special meaning in single quotes too. But it's _less_ special :-)
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: directories with spaces
by dhjackal (Initiate) on Nov 08, 2006 at 10:24 UTC | |
by Hofmator (Curate) on Nov 08, 2006 at 10:30 UTC |